You can't kill zombies because they are already dead.  If a zombie is
sucking up CPU usage. something isn't right ... it should only be a place
holder in the process table.  The purpose of a zombie is to allow the parent
process to know a process exited.

The typical way for to get rid of zombies is have the parent perform a
wait(2) on the process (or for the parent process to exit).   Back in the
olden days, the understood way to launch a process that wouldn't create a
zombie was to fork(2) twice so it was owned by init.  Now there are better
ways to go about this.

Brian
----- Original Message -----
From: "Crash" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 05, 2001 6:49 PM
Subject: Killing zombies


>
> Does anyone have, or know of a script/program setup that I can get that
> will kill zombied server processes?
>
> I don't get them often, but the fact that it takes 99% cpu usage is
> enough to get a fix. With more people getting servers that dont quite
> know what they are doing, it would be very helpful
>
> Thanks
> Crash
>
>
>


Reply via email to