Re: is killing zombies possible w/o a reboot?

From: Doug McNaught
Date: Wed Nov 03 2004 - 14:04:16 EST


Gene Heskett <gene.heskett@xxxxxxxxxxx> writes:

> On Wednesday 03 November 2004 12:44, DervishD wrote:

>> Then the children are reparented to 'init' and 'init' gets rid
>> of them. That's the way UNIX behaves.
>
> Unforch, I've *never* had it work that way. Any dead process I've
> ever had while running linux has only been disposable by a reboot.

Then it's either (a) not actually a zombie (perhaps stuck in D state),
or (b) its parent is still alive.

A zombie process is just an entry in the process table where the exit
status etc are stored until the parent reaps it--all other resources
(memory, FDs etc) have been released. So if your "zombie" process is
actually taking up resources (which I think you said in an earlier
post), there's something else at work.

-Doug
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/