public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* uninterruptible sleep lockups
@ 2005-02-21 19:18 Anthony DiSante
  2005-02-21 19:45 ` Valdis.Kletnieks
  2005-02-22 21:31 ` Olaf Titz
  0 siblings, 2 replies; 31+ messages in thread
From: Anthony DiSante @ 2005-02-21 19:18 UTC (permalink / raw)
  To: linux-kernel

Processes that get permanently stuck in "uninterruptible sleep" (the D state 
as indicated by "ps aux") are such a pain.  Of course they've always 
existed, but at least on the 3 systems that I administer, they are far more 
frequent with udev than they ever were before.  I'm constantly upgrading 
udev, hal, etc on these 3 different systems, but still not a week goes by 
that one of them doesn't need a reboot because some hardware-related process 
is hung.

The most recent one was yesterday: I had run lsusb in the morning and had no 
problems, but at the end of the day I ran it again, and after outputting 3 
lines of data, it hung, stuck in D-state.  So now I have this:

[/home/user]$ ps aux|grep D
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root        92  0.0  0.0     0    0 ?        D    Feb19   0:00 [khubd]
root       845  0.0  0.0     0    0 ?        D    Feb19   0:00 [knodemgrd_0]
root     29016  0.0  0.1  1512  592 ?        D    00:28   0:00 lsusb

It seems like this problem is always going to exist, because some hardware 
and some drivers will always be buggy.  So shouldn't we have some sort of 
watchdog higher up in the kernel, that watches for hung processes like this 
and kills them?

Don't get me wrong, I love rebooting every couple days... but I have a 
Windows system for that.

-Anthony DiSante
http://nodivisions.com/

^ permalink raw reply	[flat|nested] 31+ messages in thread
[parent not found: <fa.duv6ag6.p5mth0@ifi.uio.no>]
* Re: uninterruptible sleep lockups
@ 2005-02-23 16:55 Parag Warudkar
  0 siblings, 0 replies; 31+ messages in thread
From: Parag Warudkar @ 2005-02-23 16:55 UTC (permalink / raw)
  To: Nish Aravamudan, Olaf Titz; +Cc: linux-kernel

I have recently run into similar issue involving processes stuck in D state - involves khubd and usb-storage. This happens with 2.6.11-rc4.

Check lkml for subject Re: [linux-usb-devel] 2.6: USB Storage hangs mac.. 

Parag


> On Tue, 22 Feb 2005 22:31:03 +0100, Olaf Titz <olaf@bigred.inka.de> wrote:
> > In article <421A3414.2020508@nodivisions.com> you write:
> > > The most recent one was yesterday: I had run lsusb in the morning and had no
> > > problems, but at the end of the day I ran it again, and after outputting 3
> > > lines of data, it hung, stuck in D-state.  So now I have this:
> > >
> > > [/home/user]$ ps aux|grep D
> > > USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
> > > root        92  0.0  0.0     0    0 ?        D    Feb19   0:00 [khubd]
> > > root       845  0.0  0.0     0    0 ?        D    Feb19   0:00 [knodemgrd_0]
> > > root     29016  0.0  0.1  1512  592 ?        D    00:28   0:00 lsusb
> > 
> > I'm getting fairly repeatable deadlocks of this kind involving khubd
> > with a USB storage device. Perhaps there's just a faulty locking issue
> > in khubd.
> 
> Would you be willing to file a bugzilla (bugzilla.kernel.org) bug, if
> it's still happening with 2.6.11-rc4? Or, if you have filed one,
> please refer to it?
> 
> Thanks,
> Nish
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2005-02-24  2:05 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-21 19:18 uninterruptible sleep lockups Anthony DiSante
2005-02-21 19:45 ` Valdis.Kletnieks
2005-02-21 20:24   ` Anthony DiSante
2005-02-21 20:54     ` Valdis.Kletnieks
2005-02-21 22:18       ` Anthony DiSante
2005-02-21 22:43         ` Chris Friesen
2005-02-22  0:06           ` Anthony DiSante
2005-02-22  0:36             ` Valdis.Kletnieks
2005-02-21 22:44       ` Anthony DiSante
2005-02-21 23:11         ` Nish Aravamudan
     [not found]     ` <421B12DB.70603@aitel.hist.no>
2005-02-22 11:16       ` Anthony DiSante
2005-02-22 12:26         ` Denis Vlasenko
2005-02-22 12:35           ` Anthony DiSante
2005-02-22 13:47         ` linux-os
2005-02-22 20:03           ` Anthony DiSante
2005-02-22 20:16             ` Chris Friesen
2005-02-22 20:29               ` Anthony DiSante
2005-02-22 20:24             ` Horst von Brand
2005-02-22 20:56               ` Chris Friesen
2005-02-22 21:40                 ` linux-os
2005-02-22 23:17                   ` Chris Friesen
2005-02-22 23:42                     ` linux-os
2005-02-23  0:25                       ` Chris Friesen
2005-02-23  1:05                 ` Horst von Brand
2005-02-23 10:04                   ` Bernd Petrovitsch
2005-02-22 21:31 ` Olaf Titz
2005-02-23 16:34   ` Nish Aravamudan
     [not found] <fa.duv6ag6.p5mth0@ifi.uio.no>
     [not found] ` <fa.irk349q.1c3si2o@ifi.uio.no>
2005-02-23  0:59   ` Bodo Eggert
2005-02-23 13:50     ` linux-os
2005-02-24  2:05       ` Bodo Eggert
  -- strict thread matches above, loose matches on Subject: below --
2005-02-23 16:55 Parag Warudkar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox