From owner-freebsd-questions Thu Oct 12 10:13:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from diskfarm.firehouse.net (rdu25-12-043.nc.rr.com [24.25.12.43]) by hub.freebsd.org (Postfix) with ESMTP id 46AA137B502 for ; Thu, 12 Oct 2000 10:13:48 -0700 (PDT) Received: (from abc@localhost) by diskfarm.firehouse.net (8.11.0/8.11.0) id e9CHG6L46410; Thu, 12 Oct 2000 13:16:06 -0400 (EDT) (envelope-from abc) Date: Thu, 12 Oct 2000 13:16:06 -0400 From: Alan Clegg To: Micke Josefsson Cc: Daniel Bye , freebsd-questions@FreeBSD.ORG Subject: Re: How do I kill this 'unkillable' process? Message-ID: <20001012131606.L37507@diskfarm.firehouse.net> Mail-Followup-To: Alan Clegg , Micke Josefsson , Daniel Bye , freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from mj@isy.liu.se on Thu, Oct 12, 2000 at 03:58:57PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Unless the network is lying to me again, Micke Josefsson said: > That was what I first tried, you now! But it doesn't budge. I recall McKusick > calling -9 a 'sure kill', but apparently not for me. The problem is that the program is not going to return to user-space (when the kill signal will be handled). You have just found out how to create an unkillable (without hardware intervention [perhaps applying CD to the serial line?]) process. Other ways to create processes like this are: 1) remove scsi drive (pull the cable/power) while disk is being accessed (application in IO wait). 2) have a tape drive fail during a 'rewind' operation. AlanC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message