From: "B. James Phillippe" <bryan@terran.org>
To: Alpha Linux <axp-list@redhat.com>
Cc: Red Hat <redhat-install-list@redhat.com>
Subject: Re: Dead jobs
Date: Mon, 1 Mar 1999 10:17:11 -0800 (PST) [thread overview]
Message-ID: <Pine.LNX.4.05.9903011009260.1665-100000@earth.terran.org> (raw)
In-Reply-To: <19990301173135.19071.rocketmail@send205.yahoomail.com>
On Mon, 1 Mar 1999, Jacek Perry wrote:
> Anyway I have a quick question. For some reason I can't allways kill
> jobs. Especially if they are running in Xwindows. For instance when
> my Netscape hangs I can't kill it. I go to a shell and type ps. Then
> I issue command kill pid. However that doesn't kill it. When I do ps
Always try kill -9 pid if plain kill (which is kill -15, or "TERM") doesn't
work. kill -9 ("KILL") can't be ignored or caught, but it doesn't give the
process a chance to clean up after itself.
> again.... the netscape is still there. Next to the process I see D
> which I assume stands for dead. But when I go back to Xwindows there
> it is Netscape all hanged and filling up my screen. The only way I am
> able to get rid of this problem is by rebooting the system. However
> this is Linux there has to be better way to handle that!
The "D" state means the process is in uninterruptible sleep.
Uninterruptible processes can't be interrupted by signals, which is why you
can't kill it; they can only be woken by the kernel. Normally this only
happens when the process is blocked in a device driver waiting on hardware.
-bp
--
B. James Phillippe . bryan@terran.org
Software Engineer, WGT Inc. . http://www.terran.org/~bryan
next prev parent reply other threads:[~1999-03-01 18:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-01 17:31 Dead jobs Jacek Perry
1999-03-01 18:06 ` Paul Tomblin
1999-03-01 18:56 ` Wes Bauske
1999-03-01 21:03 ` Paul Tomblin
1999-03-02 0:51 ` Wes Bauske
1999-03-02 12:11 ` Phil Carmody
1999-03-01 18:11 ` Cornelius Creedon
1999-03-01 18:17 ` B. James Phillippe [this message]
1999-03-01 19:12 ` Wes Bauske
1999-03-01 20:15 ` mgraffam
1999-03-01 18:34 ` Frank C. Brants
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox