From owner-freebsd-questions@FreeBSD.ORG Mon May 26 04:51:38 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E06D37B401 for ; Mon, 26 May 2003 04:51:38 -0700 (PDT) Received: from peedub.jennejohn.org (p213.54.194.239.tisdip.tiscali.de [213.54.194.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id C326C43F3F for ; Mon, 26 May 2003 04:51:36 -0700 (PDT) (envelope-from garyj@jennejohn.org) Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.9/8.11.6) with ESMTP id h4QBp0I7006738; Mon, 26 May 2003 13:51:01 +0200 (CEST) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200305261151.h4QBp0I7006738@peedub.jennejohn.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: "Ing. Matej Ondrusek" In-Reply-To: Message from "Ing. Matej Ondrusek" <004401c3237a$4b459720$f84b10ac@matej> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 26 May 2003 13:51:00 +0200 From: Gary Jennejohn cc: freebsd-questions@freebsd.org Subject: Re: how to remove dead process in the "exiting" state X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 11:51:38 -0000 "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