Re: {SPAM?} Re: [SLUG] *really* killing a process

From: Andrew M. Hoerter (amh@POBOX.COM)
Date: Thu Mar 11 2004 - 13:10:03 EST


On Thu, 11 Mar 2004, Mario Lombardo wrote:

> I guess "D" means I/O, but "uninterruptible sleep???" Hello?
> I don't know what it means by "uninterruptible."

It means the process is in a state where it cannot receive and process
signals. When you use the "kill" command, you're really just sending a
standard UNIX signal. The special thing about "kill -9" is that it sends
a SIGKILL, which cannot be caught or ignored by the process. But if
something is stuck in the kernel under certain conditions, it doesn't
matter what you send, the process can't receive it.

> I'm sort of stuck now though. I don't know how to go about finding the root
> of the issue. I'm going to dig a bit online and into the ps manual. Again,
> this thing has no parent.

You could try using strace or an equivalent tool to figure out what's
triggering the sleep... of course, you'll need to be able to reproduce the
problem and programs run slower while they're being traced. But you'll
have a detailed log of every system call that was entered up until the
sleep.

But, unless you have some developer-level knowledge of UNIX, I'm not sure
how useful that exercise would be.

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:12:46 EDT