From owner-freebsd-questions Sat Feb 10 19: 1:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.hiwaay.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 5288637B491 for ; Sat, 10 Feb 2001 19:01:07 -0800 (PST) Received: from dorado.dogbark.com (user-24-214-88-8.knology.net [24.214.88.8]) by mail.hiwaay.net (8.11.0/8.11.0) with ESMTP id f1B315o02884; Sat, 10 Feb 2001 21:01:05 -0600 (CST) Received: by dorado.dogbark.com (Postfix, from userid 1001) id BEB7DB9AF; Sat, 10 Feb 2001 21:01:04 -0600 (CST) Date: Sat, 10 Feb 2001 21:01:04 -0600 From: Steve Price To: Josh Paetzel Cc: questions@FreeBSD.ORG Subject: Re: killing a stuck process Message-ID: <20010210210104.M41356@bsd.havk.org> References: <20010210202520.L41356@bsd.havk.org> <01021020553603.00458@mark9.vladsempire.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01021020553603.00458@mark9.vladsempire.net>; from jpaetzel@hutchtel.net on Sat, Feb 10, 2001 at 08:55:08PM +0000 X-Operating-System: FreeBSD 4.2-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Feb 10, 2001 at 08:55:08PM +0000, Josh Paetzel wrote: > On Sun, 11 Feb 2001, Steve Price wrote: > > Is there any way of killing a stuck process like this? > > > > root@ralph(~)# ps -awx | grep apache > > 46086 ?? DL 0:07.72 /usr/local/sbin/apache -DSSL > > 46088 ?? D 0:07.72 /usr/local/sbin/apache -DSSL > > > > These are waiting on IO to an NFS-mounted drive that I > > can mount/unmount because of these processes. Rebooting > > the box won't help either because it won't do that until > > these processes go away. Do I have any recourse except > > to cycle power on the box? > > > > Thanks. > > > > -Steve > > > > Have you tried #kill -9 46088 > ??? Yes. It is stuck in an uninterruptable state waiting on disk I/O so it doesn't even see/get this signal. When this has happened before a 'kill -INT 1' won't even get the box to reboot. The only way I could clear things up was to cycle power on the box. With the box being 2 hours from here it makes cycling power something I'd rather reserve as my very last alternative. -Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message