Understanding Zombie Processes!

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 58

  • @trentlangford9050
    @trentlangford9050 2 роки тому +32

    whoever came up with the technical terms for processes must've had an interesting family life

  • @ASHJACX
    @ASHJACX 6 років тому +96

    you are really a great teacher ! You deserve million views

    • @JacobSorber
      @JacobSorber  6 років тому +12

      Thanks! I'm glad you're enjoying the videos. Feel free to spread the word, and maybe we'll get those million views.

  • @jaworskij
    @jaworskij 5 років тому +16

    I had 25 zombies on my Linux system. I noticed a HUGE slow down in starting up apps. I could have just rebooted, but I have a running record of 35 days uptime and I didn't want to do that.
    Firefox and Thunderbird. GNOME terminal would not start. I had to use xterm instead.
    Killed them with sudo kill -9 3255 (3255 being the ppid).
    I got logged out and put back to the login screen.

    • @JacobSorber
      @JacobSorber  5 років тому +15

      You're a zombie hunter now! Well done.

  • @macoustic3833
    @macoustic3833 4 роки тому +4

    i wish all profs were like you.

  • @whodaFru4551
    @whodaFru4551 6 років тому +7

    I like this kind of videos.Technical and funny. Very enjoyable to watch.

  • @Javykang
    @Javykang 5 років тому +6

    Just found out this video, and the explanation is AMAZING! Deserve more views and I will tell my classmate to watch this.

  • @qmrm4117
    @qmrm4117 5 років тому +5

    i love how you made me understand what's the operating system's involvement in all this thank you so much!

  • @simmialok744
    @simmialok744 4 роки тому +4

    Loved the way you explained this! Thanks

  • @diodesu
    @diodesu 2 роки тому

    Had an open ended experiment on this topic, thanks for clearing all my doubts.

  • @maellet.9707
    @maellet.9707 5 років тому +4

    Great course! Very instructive

  • @taieoo1189
    @taieoo1189 3 роки тому +1

    Loved your light hearted presenting style! Thank you!

    • @JacobSorber
      @JacobSorber  3 роки тому +1

      You're welcome. Glad you enjoyed it.

  • @bdjeosjfjdskskkdjdnfbdj
    @bdjeosjfjdskskkdjdnfbdj 3 роки тому +1

    best explanation on zombie procs ive heard!

  • @programming_and_snacks5192
    @programming_and_snacks5192 5 років тому +3

    Wow please make more videos on low level stuff. You explain this stuff in a very understandable way

    • @JacobSorber
      @JacobSorber  5 років тому +1

      Will do. Any specific requests?

  • @NawafLol
    @NawafLol 6 років тому +14

    Love your videos. Would be great if you do more Syscalls video :)

    • @JacobSorber
      @JacobSorber  6 років тому +1

      Thanks, Nawaf. I have more on my future video list. Let me know if you have specific syscalls you are interested in.

    • @NawafLol
      @NawafLol 6 років тому +4

      Jacob Sorber If you have any experience with working with Unix domain socket or network sockets would be great. The idea of passing information between two separate process seems like magic. Thank you for the great videos. Started to learn about C and System programming and it's a lot of help.

    • @JacobSorber
      @JacobSorber  6 років тому +4

      That's doable. I'll add that to the list.

  • @ananyathomas9348
    @ananyathomas9348 2 роки тому +1

    This was so helpful love your teaching style!!

  • @thegroovemen
    @thegroovemen 3 роки тому

    You are really soo good. And the music really makes us stick into the training... Really feel bad that it took me this long to watch this video...

  • @ericcummings29
    @ericcummings29 4 роки тому +1

    excellent content. Thanks

  • @josephgodwin8729
    @josephgodwin8729 Рік тому

    Beautifully explained! Thanks

  • @jacksonxie7579
    @jacksonxie7579 5 років тому +2

    best video ever. build my study road

  • @lonerinthecorner1839
    @lonerinthecorner1839 Рік тому

    i am a undergrad computer engineer (studying) and idk what would i do if it wasn't for your contents. Thanks a ton!!

  • @itayozari6252
    @itayozari6252 5 років тому +2

    great explanation, thank you very much!!

  • @navdeep1744
    @navdeep1744 6 років тому +1

    Sir plz tell about critical issues related to zombies and daemon process

    • @JacobSorber
      @JacobSorber  6 років тому +1

      This question is a bit vague. If you have a specific question about zombies or daemons, I can answer it in comments. Otherwise, I'll add daemon processes to my list of videos to make (when I get the time).

  • @sidrahabdullah5085
    @sidrahabdullah5085 3 роки тому

    Amazing video!! I discovered this one soo late.

  • @nawrin6636
    @nawrin6636 5 років тому +1

    Thank You so much

  • @aartiahluwalia4104
    @aartiahluwalia4104 4 роки тому +1

    Damn! Loved the explanation!

  • @BootlegBoomerangs
    @BootlegBoomerangs 2 роки тому

    Great video thank you so much homie

  • @ohdude6643
    @ohdude6643 3 роки тому +1

    "
    Come on baby, don't fear the reaper
    Baby take my hand, don't fear the reaper
    We'll be able to fly, don't fear the reaper
    Baby I'm your man
    "

  • @umarqureshi2650
    @umarqureshi2650 4 роки тому +1

    Any video you will put out on orphans?

  • @NOLAMarathon2010
    @NOLAMarathon2010 5 років тому +1

    Does the mere act of calling waitpid() put an end to ("reap") the child process?

    • @JacobSorber
      @JacobSorber  5 років тому +1

      Well, the child process has to complete first. But, then, yes. It won't end the child process before it's finished, though-hence the "wait" part.

  • @CoOA380
    @CoOA380 3 роки тому

    Thanks a million

  • @cool_huip_
    @cool_huip_ Рік тому

    you're awesome tysm

  • @Egosumali
    @Egosumali 4 роки тому

    thanks

  • @bonbonpony
    @bonbonpony 4 роки тому +1

    So isn't there any way to clean up those zombies without killing the parent? I mean, `kill` wouldn't do, because they're already dead :q But they still have PIDs, right? So there should be some way to clean them up with some command line tool, right?

    • @JacobSorber
      @JacobSorber  4 роки тому

      The only guaranteed way I know of is killing the parent. I've seen some programs handle the SIGCHLD signal, as a way to kindly ask tell it to reap a child, but this is often not handled. Of course, there might some way that I haven't come across yet.

  • @philteng760
    @philteng760 4 роки тому +1

    Thanks for your video. Now I know what and why are zombie processes. Is it safe to say zombie processes fall in the scope of negligence of programmers? In other word, a good program shouldn't cause any zombie processes.

    • @JacobSorber
      @JacobSorber  4 роки тому

      Yeah, you could say that. Though, zombies aren't always a problem. For short-running programs that create one or two short-lived zombies, it's usually not a problem.

    • @philteng760
      @philteng760 4 роки тому

      Thanks for your reply. It's helpful.

  • @debaratighatak2211
    @debaratighatak2211 3 роки тому

    such a great explanation :)

  • @marouanechokri3970
    @marouanechokri3970 4 роки тому

    MAN YOU'RE SAVING LIVES

  • @sanvedlop
    @sanvedlop 5 років тому +1

    Too many zombies can create memory leak. Which is apparent in video games if they're not coded well.

  • @avirukbasak
    @avirukbasak 2 роки тому

    should've kept this video for Halloween

  • @judgeomega
    @judgeomega 4 роки тому

    was this video made before or after the final season of game of thrones?

  • @SlideRSB
    @SlideRSB 2 роки тому

    // Wait for child to die
    That's just freaking dark.

  • @ayoub2013
    @ayoub2013 4 роки тому

    Who is the zombie? The father or the son?

  • @manas_singh
    @manas_singh Рік тому

    Another fact is that "kill" doesn't work for zombie processes, you gotta find the parent and kill it.

  • @awabomer
    @awabomer 3 роки тому

    so sad that I found you after so many years :(

  • @LoesserOf2Evils
    @LoesserOf2Evils 4 роки тому

    Zombie! What an awful sense of humor. Of course that means wait() and waitpid() will have to be renames apocalypse. ;-)
    All kidding aside, your tutorials are easy to understand. Wish my courses had been, but you can’t have everything.

  • @paulcurious2324
    @paulcurious2324 3 роки тому

    too late I already chainsawed my laptop