Loading ...
Sorry, an error occurred while loading the content.

Re: udevd on Natty

Expand Messages
  • thad_floryan
    ... There was NO need to include 100s of lines of irrelevant ps output. The output of top would have been more useful (showing uptime and otherinfo). Include
    Message 1 of 5 , May 21, 2011
    View Source
    • 0 Attachment
      --- In linux@yahoogroups.com, "IZECKSOHN" <izecksohn@...> wrote:
      >
      > udevd is consuming too much CPU. What should I do?
      >
      > pedro@cruzer:~$ ps xa
      > PID TTY STAT TIME COMMAND
      > 1 ? Ss 0:35 /sbin/init
      > [... crapola snipped ... ]
      > 398 ? R<s 24:29 udevd --daemon
      > [... 100s of lines snipped ...]

      There was NO need to include 100s of lines of irrelevant ps output.
      The output of top would have been more useful (showing uptime and
      otherinfo). Include the output of "uptime" too, which shows the load
      averages.

      Examine dmesg and see what the system is complaining about. LOOK at it
      and only copy'n'paste one or two copies of whatever instance(s) of a
      repeated message (which is the likely scenario) that's occurring.

      Also run "udevadm monitor" which should show what's causing the problem.

      It seems to be a common problem with Ubuntu 11.04:

      <http://fossplanet.com/f10/%5Bbug-780266%5D-%5Bnew%5D-udevd-takes-100%25-cpu-162540/>

      <https://bugs.launchpad.net/bugs/780266> udev bug is confirmed
    • IZECKSOHN
      ... I m sorry. The system was hot and my head was hot too. ... I stopped udev and the kernel started to complain. The problem was caused by broken USB. Now I m
      Message 2 of 5 , May 31, 2011
      View Source
      • 0 Attachment
        --- "thad_floryan" <thad@...> wrote:
        >
        > --- I, "IZECKSOHN" <izecksohn@> wrote:
        > >
        > > udevd is consuming too much CPU. What should I do?
        > >
        > > pedro@cruzer:~$ ps xa
        > > PID TTY STAT TIME COMMAND
        > > 1 ? Ss 0:35 /sbin/init
        > > [... crapola snipped ... ]
        > > 398 ? R<s 24:29 udevd --daemon
        > > [... 100s of lines snipped ...]
        >
        > There was NO need to include 100s of lines of irrelevant ps output.
        > The output of top would have been more useful (showing uptime and
        > otherinfo). Include the output of "uptime" too, which shows the load
        > averages.

        I'm sorry. The system was hot and my head was hot too.

        > Examine dmesg and see what the system is complaining about. LOOK at it
        > and only copy'n'paste one or two copies of whatever instance(s) of a
        > repeated message (which is the likely scenario) that's occurring.
        >
        > Also run "udevadm monitor" which should show what's causing the problem.
        >
        > It seems to be a common problem with Ubuntu 11.04:
        >
        > <http://fossplanet.com/f10/%5Bbug-780266%5D-%5Bnew%5D-udevd-takes-100%25-cpu-162540/>
        >
        > <https://bugs.launchpad.net/bugs/780266> udev bug is confirmed

        I stopped udev and the kernel started to complain. The problem was caused by broken USB. Now I'm running the same OS on an old notebook with just 1 GiB of RAM and it is running almost fine.
      • IZECKSOHN
        ... As almost is not fine: udevadm settle - timeout of 0 seconds reached, the event queue contains:
        Message 3 of 5 , Jun 1, 2011
        View Source
        • 0 Attachment
          --- I, "IZECKSOHN" <izecksohn@...> wrote:
          >
          > I stopped udev and the kernel started to complain. The problem was caused by broken USB. Now I'm running the same OS on an old notebook with just 1 GiB of RAM and it is running almost fine.

          As almost is not fine:

          udevadm settle - timeout of 0 seconds reached, the event queue contains:
          /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host2/target2:0:0/2:0:0:1/block/sr1 (13028)
          ...
          /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3:1.0/host2/target2:0:0/2:0:0:1/block/sr1 (35410)

          This problem happens on a Vaio VGN-TXN25N running Ubuntu Natty Narwhal from a cruzer micro 16 GB USB stick. It does not happen on the same notebook running Ubuntu Lucid Lynx from a Kingston DataTraveler 16 GB USB stick.

          top - 07:13:49 up 50 min, 5 users, load average: 1.30, 1.07, 1.14
          Tasks: 132 total, 2 running, 130 sleeping, 0 stopped, 0 zombie
          Cpu(s): 21.7%us, 14.6%sy, 0.1%ni, 41.7%id, 21.3%wa, 0.0%hi, 0.6%si, 0.0%st
          Mem: 1015536k total, 941920k used, 73616k free, 137920k buffers
          Swap: 1048572k total, 48k used, 1048524k free, 551108k cached

          PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
          10341 pedro 20 0 33948 4136 3320 S 7.6 0.4 0:30.44 gvfs-gdu-volume
          10347 root 20 0 22544 3704 2924 S 7.6 0.4 0:22.29 udisks-daemon
          10687 root 16 -4 9716 7692 320 S 7.6 0.8 0:11.52 udevd
          736 messageb 20 0 3432 1704 840 S 5.7 0.2 0:11.72 dbus-daemon
          198 root 20 0 0 0 0 R 3.8 0.0 0:46.68 usb-storage
          10533 pedro 20 0 79528 11m 9188 S 3.8 1.1 0:13.47 update-notifier
          29024 pedro 20 0 2628 1108 836 R 3.8 0.1 0:00.02 top
          698 root 20 0 4652 1276 744 S 1.9 0.1 0:33.53 mount.ntfs
          9245 root 20 0 46336 13m 6772 S 1.9 1.3 0:26.95 Xorg
          10527 pedro 20 0 85968 23m 15m S 1.9 2.4 0:15.21 plugin-containe
          10688 root 18 -2 2848 992 368 S 1.9 0.1 0:15.57 udevd
          1 root 20 0 3052 1868 1212 S 0.0 0.2 0:10.46 init
          2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
          3 root 20 0 0 0 0 S 0.0 0.0 0:15.66 ksoftirqd/0
          5 root 20 0 0 0 0 S 0.0 0.0 0:00.71 kworker/u:0
          6 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
          7 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 cpuset
          8 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 khelper
          9 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 netns
          10 root 20 0 0 0 0 S 0.0 0.0 0:00.05 sync_supers
          11 root 20 0 0 0 0 S 0.0 0.0 0:00.00 bdi-default
          12 root 0 -20 0 0 0 S 0.0 0.0 0:00.00 kintegrityd
        • thad_floryan
          ... That s great! But there IS a bug with Ubuntu 11.04 and udev as I posted previously on May 21 here:
          Message 4 of 5 , Jun 1, 2011
          View Source
          • 0 Attachment
            --- In linux@yahoogroups.com, "IZECKSOHN" <izecksohn@...> wrote:
            > [...]
            > I stopped udev and the kernel started to complain. The problem was
            > caused by broken USB. Now I'm running the same OS on an old notebook
            > with just 1 GiB of RAM and it is running almost fine.

            That's great! But there IS a bug with Ubuntu 11.04 and udev as I
            posted previously on May 21 here:

            <http://tech.groups.yahoo.com/group/linux/message/59105>

            per:

            " It seems to be a common problem with Ubuntu 11.04:
            "
            " <http://fossplanet.com/f10/%5Bbug-780266%5D-%5Bnew%5D-udevd-takes-100%25-cpu-162540/>
            "
            " <https://bugs.launchpad.net/bugs/780266> udev bug is confirmed

            that still exists and hasn't been fixed as of 1-JUNE-2011. It's been
            confirmed and not assigned to anyone, so it'll be lingering in the
            next eleventy-seven Ubuntu releases. :-(

            FWIW, I have two linux desktops with only 512MB RAM running linux
            just fine, and another oldie from the 1990s having only 64MB RAM and
            it, too, runs linux just fine. My SheevaPlugs are also RAM frugal:

            <http://thadlabs.com/PIX/Sheevaplug_Webmin.jpg>
          Your message has been successfully submitted and would be delivered to recipients shortly.