[Bug 680444] Re: dbus-daemon eats 100% cpu and is not responsive

John Charonko 680444 at bugs.launchpad.net
Tue Dec 20 15:04:22 UTC 2011


kaloyan and kcstrom -

It's possible you are experiencing a different dbus bug from those with
the too many open files problem.  For me, the update to Kubuntu 11.10
resolved the problem.  It appears the kdelibs patch that was included in
that release fixed it, as expected.  I'm just frustrated it took so
long, but at least it's done now.

What release are you on?

Have you tried to look at dbus-monitor? Maybe you can see if a
particular program is behaving badly.

In the case of the kdelibs problem I was having, dbus-monitor was
completely silent, like it was locked up or unable to respond, probably
because it was waiting to open a new file.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dbus in Ubuntu.
https://bugs.launchpad.net/bugs/680444

Title:
  dbus-daemon eats 100% cpu and is not responsive

Status in “dbus” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: dbus

  strace shows the following:

  sudo strace -p 1464
  Process 1464 attached - interrupt to quit
  clock_gettime(CLOCK_MONOTONIC, {349519, 662737789}) = 0
  poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=15, events=POLLIN}, {fd=17, events=POLLIN}, {fd=16, events=POLLIN}, {fd=18, events=POLLIN}, {fd=19, events=POLLIN}, {fd=20, events=POLLIN}, {fd=14, events=POLLIN}, {fd=22, events=POLLIN}, {fd=21, events=POLLIN}, {fd=25, events=POLLIN}, {fd=24, events=POLLIN}, {fd=26, events=POLLIN}, {fd=27, events=POLLIN}, {fd=29, events=POLLIN}, {fd=23, events=POLLIN}, {fd=31, events=POLLIN}, {fd=32, events=POLLIN}, {fd=33, events=POLLIN}, {fd=34, events=POLLIN}, {fd=35, events=POLLIN}, {fd=36, events=POLLIN}, {fd=39, events=POLLIN}, {fd=38, events=POLLIN}, {fd=37, events=POLLIN}, {fd=42, events=POLLIN}, ...], 1018, -1) = 1 ([{fd=3, revents=POLLIN}])
  clock_gettime(CLOCK_MONOTONIC, {349519, 664920388}) = 0
  accept4(3, 0xbfcd9aac, [16], SOCK_CLOEXEC) = -1 EMFILE (Too many open files)
  fcntl64(-1, F_GETFD)                    = -1 EBADF (Bad file descriptor)
  clock_gettime(CLOCK_MONOTONIC, {349519, 665068808}) = 0
  poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=12, events=POLLIN}, {fd=13, events=POLLIN}, {fd=15, events=POLLIN}, {fd=17, events=POLLIN}, {fd=16, events=POLLIN}, {fd=18, events=POLLIN}, {fd=19, events=POLLIN}, {fd=20, events=POLLIN}, {fd=14, events=POLLIN}, {fd=22, events=POLLIN}, {fd=21, events=POLLIN}, {fd=25, events=POLLIN}, {fd=24, events=POLLIN}, {fd=26, events=POLLIN}, {fd=27, events=POLLIN}, {fd=29, events=POLLIN}, {fd=23, events=POLLIN}, {fd=31, events=POLLIN}, {fd=32, events=POLLIN}, {fd=33, events=POLLIN}, {fd=34, events=POLLIN}, {fd=35, events=POLLIN}, {fd=36, events=POLLIN}, {fd=39, events=POLLIN}, {fd=38, events=POLLIN}, {fd=37, events=POLLIN}, {fd=42, events=POLLIN}, ...], 1018, -1) = 1 ([{fd=3, revents=POLLIN}])
  clock_gettime(CLOCK_MONOTONIC, {349519, 667222733}) = 0
  accept4(3, 0xbfcd9aac, [16], SOCK_CLOEXEC) = -1 EMFILE (Too many open files)
  fcntl64(-1, F_GETFD)                    = -1 EBADF (Bad file descriptor)
  .................

  System info:
  Kubuntu 10.10
  ubuntu-bug does not work by the way because it tries to connect to dbus

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/680444/+subscriptions




More information about the foundations-bugs mailing list