Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2003 13:51:00 +0200
From:      Gary Jennejohn <garyj@jennejohn.org>
To:        "Ing. Matej Ondrusek" <matej@cxcom.sk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to remove dead process in the "exiting" state 
Message-ID:  <200305261151.h4QBp0I7006738@peedub.jennejohn.org>
In-Reply-To: Message from "Ing. Matej Ondrusek" <matej@cxcom.sk>  <004401c3237a$4b459720$f84b10ac@matej> 

next in thread | previous in thread | raw e-mail | index | archive | help

"Ing. Matej Ondrusek" writes:
> Dean Strik wrote:
> > Not really an answer, but something you could try: a few weeks ago I
> > noticed that an XFree86 process in IE after a kill -9 on it could be
> > terminated by sending an additional kill -1 to it. Probably too specific
> > for this program though (and it was on 5.0-CURRENT actually).
> 
> I have tried it but it didn't help. Here is the console output for more
> information:
> 
> # /var/spool/lock: ps -ax | grep "26977"
> 26977  ??  IE     0:00.01 /usr/local/sbin/mgetty cuaa1
> # /var/spool/lock: kill -9 26977
> # /var/spool/lock: ps -ax | grep "26977"
> 26977  ??  IE     0:00.01 /usr/local/sbin/mgetty cuaa1
> # /var/spool/lock: kill -1 26977
> # /var/spool/lock: ps -ax | grep "26977"
> 26977  ??  IE     0:00.01 /usr/local/sbin/mgetty cuaa1
> 
> Isn't it a kernel bug ? I thought that every process must be always
> removable at least with kill -9.
> 

You have to be able to wake up the process in order to deliver the signal.
I speculate that the process is in a non-wakebale sleep, trying to flush
its clists.

What's on cuaa1?

---
Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305261151.h4QBp0I7006738>