[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can't kill a PID



On Sun, Nov 03, 2002 at 06:34:55AM -0500, Kevin Coyner wrote:

> I always thought that with 'kill -9 PID' you could clean up just about
> any process, but I've run into one that just won't go ...

> kosuke    9026  0.0  0.9 14460 4932 ? D  00:16   0:00 xmms

The state ``D'' means uninterruptible.

> kosuke    9027  0.0  0.0     0    0 ? Z  00:16   0:00 [xmms <defunct>] 

This process is a child of the uninterruptible process. Since you cannot
kill the process in D state, the process in Z state will not reparent to
init (by losing it's current parent) and be cleaned up by the kernel
when init waits on it.

-- 
Matthew Gregan                     |/
                                  /|                kinetik@orcon.net.nz



Reply to: