This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: help needed with froked process becoming zombies
On Sun, Aug 26, 2012 at 9:18 PM, Christoph Anton Mitterer
<calestyo@scientia.net> wrote:
>
>
>
> I even have no idea how Icinga/Nagios can make the zombie go away,...
> because obviously it cannot SIGKILL it, right?
>
Zombies are removed either if their parent process waits for them (using any
of the wait(*) or waitpid(*) system calls), or if the parent process itself
exits. Use ps faux to look at the process tree to determine the parent of a
zombie.
BTW, zombies generally don't cause problems in Linux unless a very large
number is created in a short period of time. If you can't fix the software,
you can always restart it (perhaps after killing the parent process), which
makes the zombies disappear as well.
- Godmar