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.
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.
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).
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?
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.
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.
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.
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.
whoever came up with the technical terms for processes must've had an interesting family life
you are really a great teacher ! You deserve million views
Thanks! I'm glad you're enjoying the videos. Feel free to spread the word, and maybe we'll get those million views.
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.
You're a zombie hunter now! Well done.
i wish all profs were like you.
I like this kind of videos.Technical and funny. Very enjoyable to watch.
Just found out this video, and the explanation is AMAZING! Deserve more views and I will tell my classmate to watch this.
i love how you made me understand what's the operating system's involvement in all this thank you so much!
Loved the way you explained this! Thanks
Had an open ended experiment on this topic, thanks for clearing all my doubts.
Great course! Very instructive
Loved your light hearted presenting style! Thank you!
You're welcome. Glad you enjoyed it.
best explanation on zombie procs ive heard!
Wow please make more videos on low level stuff. You explain this stuff in a very understandable way
Will do. Any specific requests?
Love your videos. Would be great if you do more Syscalls video :)
Thanks, Nawaf. I have more on my future video list. Let me know if you have specific syscalls you are interested in.
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.
That's doable. I'll add that to the list.
This was so helpful love your teaching style!!
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...
excellent content. Thanks
Beautifully explained! Thanks
best video ever. build my study road
Thanks.
i am a undergrad computer engineer (studying) and idk what would i do if it wasn't for your contents. Thanks a ton!!
great explanation, thank you very much!!
Sir plz tell about critical issues related to zombies and daemon process
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).
Amazing video!! I discovered this one soo late.
Thank You so much
Damn! Loved the explanation!
Great video thank you so much homie
"
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
"
Any video you will put out on orphans?
Does the mere act of calling waitpid() put an end to ("reap") the child process?
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.
Thanks a million
you're awesome tysm
thanks
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?
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.
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.
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.
Thanks for your reply. It's helpful.
such a great explanation :)
MAN YOU'RE SAVING LIVES
Too many zombies can create memory leak. Which is apparent in video games if they're not coded well.
should've kept this video for Halloween
was this video made before or after the final season of game of thrones?
// Wait for child to die
That's just freaking dark.
Who is the zombie? The father or the son?
Another fact is that "kill" doesn't work for zombie processes, you gotta find the parent and kill it.
so sad that I found you after so many years :(
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.
too late I already chainsawed my laptop