Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2000 14:25:36 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Marc Silver <marcs@draenor.org>
Cc:        Joel Bjork <u98jobj@stud.hh.se>, questions@FreeBSD.ORG
Subject:   Re: Killing processes
Message-ID:  <20001031142536.B22110@fw.wintelcom.net>
In-Reply-To: <20001031221448.O39296@draenor.org>; from marcs@draenor.org on Tue, Oct 31, 2000 at 10:14:48PM %2B0200
References:  <XFMail.001031193942.u98jobj@stud.hh.se> <20001031221448.O39296@draenor.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <marcs@draenor.org> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001031142536.B22110>