>From the: The Undernet #Linux Channel FAQ
http://linuxfaq.quartz.net.nz/node106.html
[...]
How do I kill a zombie process?

Zombies will be cleaned up if their parents die. So a zombie can
be removed by killing the parent process of the zombie. A parent
process can be found with ps -fauwx and so kill the parent of the
zombie process (often a SIGHUP is all that is needed).

In theory, the only processes that this will never be able to be
applied to is the stuff like init and other stuff started by the
kernel that you have no power over.

If it is a process that seems to have no parent, kill -s SIGHUP 1
(sending a hangup to init) will probably clean up a zombie.

Otherwise just kill the parent of the zombie process and all
should be fine again.
[...]

On Thu, Aug 24, 2000 at 05:01:01AM +0800, Emmanuel 'Manny' Amador wrote:
> I've been having lots of trouble with zombie processes. This has been
> happening since I started with Linux (Red Hat 5.0). Sometimes I find I
> cannot kill some processes, even when I'm root. I use gitps -p -A to run
> the process viewer/killer and sometimes I can't kill a zombie. I also use
> the kill -9 command and sometimes that doesn't work. I've also tried the
> GNOME and KDE process managers. Even then there are some processes that
> are really persistent.
> 
> Is there any ultimate process viewer/killer that will terminate erring
> processes for sure?
> 
> Also, doers anyone have any tips to minimize the occurence of zombie
> processes? I admit I run some multimedia stuff and Netscape, which hav a
> propensity to crash sometimes.

-- 
 .--.  Michael J. Maravillo                  office://+63.2.894.3592/
( () ) Q Linux Solutions, Inc.                http://www.q-linux.com/
 `--\\ Open Source Consultancy / Support / Training / Software Dev't.
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to