Kill a zombie
1 Attachment(s)
Hi Folks,
I have one VM which failed to respond and left behind a zombie process. Restarted the VM and stopped properly but zombie persisted. As you can see from htop (attached) the zombie child is still is using 31.6% and MEM USAGE shows 3.7G/7.64G. What else I did: - followed lots of literature on this topic :) - I killed all <username> processes: Code:
pkill -U <username> Some sources claim zombies can't be kill but I would like to listen your opinions on this before I reboot the machine. Code:
/home/brad# ps -ef|grep -i defunct Code:
kill -9 101322 101352 Thanks! |
I don't think you can kill a zombie because the process itself doesn't exist any more. All that exists is the process's task structure within the kernel. In other words, the kernel has the hallucination that the process still exists because its parent hasn't reaped it.
If you try to send a kill signal to the process, nothing happens because there is no running program to receive the signal. |
Quote:
|
A "zombie" process is a child process whose parent has ceased to exist. Normally, this process is re-parented to "process #1" (the old init), which then killed it.
|
All times are GMT -5. The time now is 11:48 AM. |