From owner-freebsd-questions Tue Oct 31 14:26:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 376B237B4C5 for ; Tue, 31 Oct 2000 14:26:19 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e9VMPaS09295; Tue, 31 Oct 2000 14:25:36 -0800 (PST) Date: Tue, 31 Oct 2000 14:25:36 -0800 From: Alfred Perlstein To: Marc Silver Cc: Joel Bjork , questions@FreeBSD.ORG Subject: Re: Killing processes Message-ID: <20001031142536.B22110@fw.wintelcom.net> References: <20001031221448.O39296@draenor.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20001031221448.O39296@draenor.org>; from marcs@draenor.org on Tue, Oct 31, 2000 at 10:14:48PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Tue, Oct 31, 2000 at 07:39:42PM +0200, Joel Bjork wrote: > > I have a couple of processes stuck in this state: > > > > moster 81345 0.0 1.0 1112 720 ?? Ds Fri03PM > > > > kill nor kill -9 works, is there any way to kill these processes short of > > rebooting the machine? * Marc Silver [001031 12:15] wrote: > Try (if possible, and if it's there) to find the parent pid for this > process. Killing that may release the children processes from whatever > wait state they're currently in. :) That's incorrect in this case. That would be state 'Z' for zombie, killing a parent of a zombie will make it go away, however Joel's process is in 'D' which is: D Marks a process in disk (or other short term, uninter- ruptible) wait. So Joel is basically stuck with this guy until he fixes whatever is making the process stuck, or reboots. These states are listed in the manpage for ps(1). -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message