[ltp] Re: Immortal process that does not let the computer to sleep.

Andreas Paul linux-thinkpad@linux-thinkpad.org
Wed, 28 Dec 2005 13:48:01 +0100


Please check the Sound Deamon of the KDE, he hungs often on a Thinkpad
when you will Suspend.
I think this is the Process do you seach for.

2005/12/28, Richard Neill <rn214@hermes.cam.ac.uk>:
>
>
> Mike Kershaw wrote:
> >>Some days ago I tried to 'cat' a file in the /proc system, but it didn'=
t
> >>work, the process hung and would not respond to a "kill -9". I tried
> >>closing the terminal (it was inside Konsole) and restarting the X serve=
r,
> >>but the process was still there. The real problem is I could not suspen=
d
> >>the computer, because of this process, it said something like: "Strange=
,
> >>bash doesn't want to stop" (of course, the culprit was the 'cat' under
> >>'bash'). So, at the end I had to reboot the computer to get rid of this
> >>process.
> >
> >
> > If the process is listed in 'ps' as state 'D' (and it sounds like it is=
,
> > since kill -9 didn't make it die), then you can't do anything.  It's in
> > uninterruptable IO sleep, forever.  You'll have to take an unclean
> > shutdown to get rid of it, there is no way to kill it.
> >
>
> I've seen this occur quite frequently. (eg mplayer with win32 codecs on
> dodgy hardware), or if you inadvertently unplug a usb memory key without
> unmounting it properly.  Furthermore, if one process is in this state,
> running ps,top,or kill will put the ps/top/kill process into the same sta=
te!
>
> However, the existence of such a state is surely a kernel bug?  Is there
> anything that can be done to fix it?
>
> Richard
>
>
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>