From owner-freebsd-questions@FreeBSD.ORG Mon May 26 04:31:47 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 301EB37B401 for ; Mon, 26 May 2003 04:31:47 -0700 (PDT) Received: from one.zutom.sk (one.zutom.sk [62.176.168.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3D4143F85 for ; Mon, 26 May 2003 04:31:45 -0700 (PDT) (envelope-from matej@cxcom.sk) Received: from gw.cxcom.sk (gw.cxcom.sk [62.176.171.250]) by one.zutom.sk (8.12.8p1/8.12.8) with SMTP id h4QBVmG9042188 for ; Mon, 26 May 2003 13:31:49 +0200 (CEST) (envelope-from matej@cxcom.sk) Received: from matej.cxcom.int (HELO matej) (172.16.75.248) by smb.cxcom.int with SMTP; 26 May 2003 11:31:06 -0000 Message-ID: <004401c3237a$4b459720$f84b10ac@matej> From: "Ing. Matej Ondrusek" To: Date: Mon, 26 May 2003 13:31:05 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Scanned-By: smtp.zutom.sk - MIMEDefang 2.16 Subject: 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:31:47 -0000 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.