← Back to team overview

touch-packages team mailing list archive

[Bug 1230031] Re: dbus-daemon consumes 100% cpu without reason

 

Hi all,

I've been suffering from this bug from time to time in 12.04 LTS, and
today I finally found out the culprit that cause the high cpu% in my
case. According to "strace -p" dump of the dbus-daemon, the problem
seems related to the org.kde.nepomuk.* service:

recvmsg(111, 0xbfd5b658, MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
sendmsg(111, {msg_name(0)=NULL, msg_iov(2)=[{"l\3\1\1J\0\0\0\203\243\353\6u\0\0\0\6\1s\0\6\0\0\0:1.175\0\0\4\1s\0)\0\0\0org.freedesktop.DBus.Error.LimitsExceeded\0\0\0\0\0\0\0\5\1u\0\333f\354\6\10\1g\0\1s\0\0\7\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0", 136}, {"E\0\0\0The maximum number of pending replies per connection has been reached\0", 74}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 210
clock_gettime(CLOCK_MONOTONIC, {2505630, 149771846}) = 0
poll([{fd=3, events=POLLIN}, {fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, ...(skip)...{fd=13, events=POLLIN}, {fd=132, events=POLLIN}, {fd=14, events=POLLIN}, {fd=21, events=POLLIN}, {fd=23, events=POLLIN}, {fd=141, events=POLLIN}], 141, -1) = 1 ([{fd=111, revents=POLLIN}])
clock_gettime(CLOCK_MONOTONIC, {2505630, 150552531}) = 0
recvmsg(111, {msg_name(0)=NULL, msg_iov(1)=[{"l\1\0\0010\0\0\0\334f\354\6\177\0\0\0\1\1o\0\25\0\0\0/org/freedesktop/DBus\0\0\0\6\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\2\1s\0\24\0\0\0org.freedesktop.DBus\0\0\0\0\3\1s\0\f\0\0\0GetNameOwner\0\0\0\0\10\1g\0\1s\0\0+\0\0\0org.kde.nepomuk.services.nepomukfileindexer\0\0\0.nepomukstorage',path='/servicecontrol',interface='org.kde.nepomuk.ServiceControl',member='serviceInitialized'\0\0\0\0\0\0(...skip...)\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2048}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_CMSG_CLOEXEC) = 192

$ ps -ef | grep nepom
user    16909 26479  0 10:50 pts/0    00:00:00 grep --color=auto nepom
user    19923 19879  0 Jan05 ?        00:00:00 /usr/bin/akonadi_nepomuk_feeder --identifier akonadi_nepomuk_feeder
user    19950     1  1 Jan05 ?        05:08:31 /usr/bin/nepomukserver
user    19954 19950  0 Jan05 ?        00:00:02 /usr/bin/nepomukservicestub nepomukstorage
user    19968 19950  0 Jan05 ?        00:00:01 /usr/bin/nepomukservicestub nepomukfilewatch
user    19969 19950  0 Jan05 ?        00:00:00 /usr/bin/nepomukservicestub nepomukbackupsync
user    19970 19950  0 Jan05 ?        00:00:00 /usr/bin/nepomukservicestub nepomukfileindexer
user    19971 19950  0 Jan05 ?        00:00:00 /usr/bin/nepomukservicestub nepomukqueryservice

So i tried to stop kde programs, and attempt to restart this
nepomukserver, I've tried to kill by pid, it does not respond. So I
tried to "kill -HUP", it starts restart itself and the 100% cpu goes
away now.

Hope this helps someone with the similar problem as me.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to dbus in Ubuntu.
https://bugs.launchpad.net/bugs/1230031

Title:
  dbus-daemon consumes 100% cpu without reason

Status in dbus package in Ubuntu:
  Confirmed

Bug description:
  Just login in to session, and dbus-daemon consumes 100% of cpu.
  Before, I did a login and logout. This problem appears randomly, not
  all the time.

   9107 sergio    20   0 30376 1660 1356 R 100,1  0,0  11:35.08 dbus-daemon                                                                                           
  11692 root      20   0  433m  54m  37m S   1,0  1,4   0:05.46 Xorg                                                                                                  
  12279 sergio    20   0 1506m  78m  30m S   0,7  2,1   0:05.40 compiz                                                                                                
  12417 sergio    20   0  553m  20m  11m S   0,7  0,6   0:00.93 gnome-terminal                                                                                        
  13757 sergio    20   0  853m 160m  40m S   0,7  4,2   0:06.83 firefox

  See sensors, dbus-daemon is heating up my laptop:

  Adapter: Virtual device
  temp1:        +68.0°C  (crit = +98.0°C)

  coretemp-isa-0000
  Adapter: ISA adapter
  Physical id 0:  +69.0°C  (high = +84.0°C, crit = +100.0°C)
  Core 0:         +49.0°C  (high = +84.0°C, crit = +100.0°C)
  Core 1:         +51.0°C  (high = +84.0°C, crit = +100.0°C)
  Core 2:         +69.0°C  (high = +84.0°C, crit = +100.0°C)
  Core 3:         +55.0°C  (high = +84.0°C, crit = +100.0°C)

  asus-isa-0000
  Adapter: ISA adapter
  temp1:       +6280.0°C  

  pkg-temp-0-virtual-0
  Adapter: Virtual device
  temp1:        +68.0°C

  ---

  Description:	Ubuntu Saucy Salamander (development branch)
  Release:	13.10
  Linux sergio-X751JB 3.11.0-8-generic #15-Ubuntu SMP Fri Sep 20 04:11:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

  dbus:
    Installed: 1.6.12-0ubuntu5
    Candidate: 1.6.12-0ubuntu5
    Version table:
   *** 1.6.12-0ubuntu5 0
          500 http://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: dbus 1.6.12-0ubuntu5
  ProcVersionSignature: Ubuntu 3.11.0-8.15-generic 3.11.1
  Uname: Linux 3.11.0-8-generic x86_64
  ApportVersion: 2.12.4-0ubuntu1
  Architecture: amd64
  Date: Wed Sep 25 04:31:14 2013
  InstallationDate: Installed on 2013-09-20 (4 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130920)
  MarkForUpload: True
  SourcePackage: dbus
  UpgradeStatus: No upgrade log present (probably fresh install)

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