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

kcstrom 680444 at bugs.launchpad.net
Tue Dec 20 20:21:51 UTC 2011


I'm running oneiric - ubuntu 11.10. dbus-monitor is slient. I'm pretty
sure for me it's something to do with thunderbird since it started
happening on cue if open/close/delete an email. Running strace -p on
thunderbird, I see

stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3543, ...}) = 0

about 45000 times and then an increasing number of sendmsg calls that
all look similar to

sendmsg(38, {msg_name(0)=NULL,
msg_iov(2)=[{"l\4\1\1\24\1\0\0002\304\23\0x\0\0\0\1\1o\0\25\0\0\0/org/a11"...,
136}, {"\5\0\0\0:1.48\0\0\0!\0\0\0/org/a11y/atspi/"..., 276}],
msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 412

That goes on until line 356014 and then some polls, reads, a ton of

madvise(0x7fa56ccbc000, 4096, MADV_DONTNEED) = 0

and I had killed strace at that point while thunderbird and dbus were
still going nuts.  Perhaps this should be filed with thunderbird.

-- 
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