From owner-freebsd-questions Sat Feb 10 20:18:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [206.29.169.15]) by hub.freebsd.org (Postfix) with ESMTP id 89EC337B401 for ; Sat, 10 Feb 2001 20:18:06 -0800 (PST) Received: from tedm.placo.com (nat-rtr.freebsd-corp-net-guide.com [206.29.168.154]) by mail.freebsd-corp-net-guide.com (8.11.1/8.11.1) with SMTP id f1B4Hj306479; Sat, 10 Feb 2001 20:17:46 -0800 (PST) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "Steve Price" , "Josh Paetzel" Cc: Subject: RE: killing a stuck process Date: Sat, 10 Feb 2001 20:17:50 -0800 Message-ID: <000201c093e1$98673840$1401a8c0@tedm.placo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 In-Reply-To: <20010210210104.M41356@bsd.havk.org> Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG APC makes a power strip with an Ethernet card in it, you can telnet into it and issue a command that will remove power from an outlet, then you can restore power back to the outlet. Very effective for colocates that sometimes need a kick in the rear. Ted Mittelstaedt tedm@toybox.placo.com Author of: The FreeBSD Corporate Networker's Guide Book website: http://www.freebsd-corp-net-guide.com > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Steve Price > Sent: Saturday, February 10, 2001 7:01 PM > To: Josh Paetzel > Cc: questions@FreeBSD.ORG > Subject: Re: killing a stuck process > > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message