On Monday 07 May 2007, Marek Miller wrote:
> When I run firefox 2.0.0.3 on my x86 laptop, the ps -eHF command
> produces following output:
>
> UID        PID  PPID  C    SZ   RSS PSR STIME TTY          TIME CMD
> ...
> ...
> marek     5788  5765 12 50526 73088    0 09:02 ?        00:13:42
> /usr/lib/mozilla-firefox/firefox-bin
> marek     5869  5788  0     0     0   0 09:02 ?
> 00:00:00       [netstat] <defunct>
>
> Firefox is a parent of defunct netstat process. Of course, when I
> close firefox, the zombie disappears too.
> Could someone explain me how to get rid of it?

Two things:

1. Please don't hijack threads. It's very rude.

2. You can't get rid of zombies. They are unkillable, hence the name. A 
zombie is a process whose immediate parent died without cleaning up 
it's children's PIDs. They end up being attached to the another parent 
further up the chain, end consume no resources except taking up one 
PID. There's a kernel thread that runs every 5 minutes or so sweeping 
them out of the way. So you can ignore zombies.

The above might be wrong, it's been a while since I verified it for 
myself; so I paraphrased the Red Hat 4 training materials. That is for 
2.6.9, it might be different these days in mainline kernels

alan


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list

Reply via email to