Is there any way to kill the process which went to uninterruptible sleep (D) state??

Patrick O'Callaghan pocallaghan at gmail.com
Fri Feb 7 16:08:31 UTC 2014


On Fri, Feb 7, 2014 at 3:43 PM, Kevin Peterson <qh.resu01 at gmail.com> wrote:
> Is there any way to kill the process which went to uninterruptible sleep (D) state due of some reason without rebooting machine??

Short answer: no.

Longer answer: D state is used when the process suspends waiting for
an event which "has to" occur, typically something like a completion
interrupt from a device (hence the 'D'). When the completion event
doesn't occur, there's no way for the kernel to clean up. Reboot is
the only thing you can do.

See http://stackoverflow.com/questions/1475683/linux-process-states
and lots of other places (Google for 'D state').

poc


More information about the users mailing list