Re: Options to stop processes that can't be killed -9 other than reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14Sep2011 10:13, m.roth@xxxxxxxxx <m.roth@xxxxxxxxx> wrote:
| > If you have a process that is stuck in a zombie mode and kill -9 isn't
| > getting rid of it, you may need to do something with the parent process
| > that spawned it in the first place.
| 
| Yeah, but too often, the parent process has gone, and the zombie's now got
| a parent of 1.

Then it is not a zombie. Zombies are exited processes which still have their
parent, but the parent has not (yet) collected their exit status.

There's no point trying to kill a zombie - it has already exited and is
using no resources other than a process table slot to preserve the PID
against reuse until the parent has waited, and to hold the exit status
the parent will collect.

In the cited case, the process hasn't exited, so it is not a zombie anyway.

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

I was moving so fast I started using Him as a braking marker.
        - motorcyclist test pilot

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux