Re: [SLUG] defunct processes

From: Paul Bransford (draeath@gmail.com)
Date: Sat Mar 07 2009 - 17:32:37 EST


Of particular note from that article:

To remove zombies from a system, the SIGCHLD signal can be sent to the
parent manually, using the kill command. If the parent process still
refuses to reap the zombie, the next step would be to remove the parent
process. When a process loses its parent, init becomes its new parent.
Init periodically executes the wait system call to reap any zombies with
init as parent.

On Sat, 2009-03-07 at 17:30 -0500, Paul Bransford wrote:
> http://en.wikipedia.org/wiki/Zombie_process
>
> Whatever process is calling these children needs to read their return
> value. These processes are harmless in that manner, each one only
> containing enough memory to hold process information and the return
> value. They should die as soon as that value is read.
>
> On Sat, 2009-03-07 at 14:13 -0500, Eben King wrote:
> > How can I get rid of these?
> >
> > 4871 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 4874 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 4903 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 7272 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 7550 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 11841 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 11842 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 11843 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 11920 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 18534 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 18540 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 18550 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 18553 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 18559 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 18567 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 18568 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 18570 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 18580 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 18588 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 19981 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 21908 root 0 0 0 0 exit Z 0 0.0 0:00 festival <defunct>
> > 23471 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 23549 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 23724 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 23725 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 23726 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 27146 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> > 27483 root 0 0 0 0 exit Z 0 0.0 0:00 aplay <defunct>
> >
> >
>

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:10:27 EDT