Date: Sat, 10 Feb 2001 20:17:50 -0800 From: "Ted Mittelstaedt" <tedm@toybox.placo.com> To: "Steve Price" <sprice@hiwaay.net>, "Josh Paetzel" <jpaetzel@hutchtel.net> Cc: <questions@FreeBSD.ORG> Subject: RE: killing a stuck process Message-ID: <000201c093e1$98673840$1401a8c0@tedm.placo.com> In-Reply-To: <20010210210104.M41356@bsd.havk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000201c093e1$98673840$1401a8c0>