[CentOS] slug of zombies

Tue Dec 13 23:47:28 UTC 2005
Craig White <craigwhite at azapple.com>

That was interesting...I have to remember that...

ps auxwwf (the answer to WTF)  ;-)

I was able to kill them off at the top

Thanks

root      1555  0.0  0.4 11424 8416 ?        S    13:38   0:04
\_ /usr/bin/X11/X -s off -dpms -v -nolock -fp /usr/lib/X11/fonts/misc -
logfile /etc/rhgb/temp/XFree86.0.log -extension XFree86-DRI :9 vt8
root      1606  0.0  0.0  2504  588 ?        S    13:39   0:00  \_
gnome-pty-helper
root      1607  0.0  0.0  3400  304 pts/0    Ss+  13:39   0:00
\_ /sbin/change_console -f
root      2462  0.0  0.0     0    0 ?        Z    13:40   0:00  \_
[chvt] <defunct>
root      2470  0.0  0.0     0    0 ?        Z    13:40   0:00  \_
[chvt] <defunct>

Is this because I disconnected monitor and rebooted?

Craig

On Wed, 2005-12-14 at 00:34 +0100, Maciej Żenczykowski wrote:
> Use "ps auxwwf" to figure out what are the zombies parents and kill the 
> parents.  Whenever a process ends/dies/is killed it is turned into a 
> zombie until it is 'reaped' by it's parent process (the parent process 
> needs the zombie to stay around until it receives the SIGCHLD signal and 
> retrieves the process exit state).  If a program has children but fails to 
> reap them (either because it doesn't handle SIGCHLD or reap in some other 
> manner) via lack of such facility or bad design or because it froze, 
> zombie processes may accumulate...
> 
> Cheers,
> MaZe.
> 
> On Tue, 13 Dec 2005, Craig White wrote:
> 
> > after booting a CentOS 4.2 system
> >
> > I have a bunch of zombies...
> >
> > root      2828  0.0  0.0     0    0 ?        Z    14:41   0:00 [chvt]
> > <defunct>
> >
> > My read from googling this is chvt stems from something that involves a
> > shell.
> >
> > They ***may*** have been created from my attempts to start mysqld which
> > isn't working (I will start another thread) but no efforts to kill them
> > off are working...
> >
> > [root at srv1 certs]# kill 2828
> > [root at srv1 certs]# kill -9 2828
> > [root at srv1 certs]# ps aux|grep 2828
> > root      2828  0.0  0.0     0    0 ?        Z    14:41   0:00 [chvt]
> > <defunct>
> >
> > How do I clean this up?
> >
> > Craig
> >
> > _______________________________________________
> > CentOS mailing list
> > CentOS at centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos