Comment 0 for bug 1577132

Revision history for this message
MichaƂ Sawicz (saviq) wrote : dbus/upstart spam dbus with NameOwnerChanged

After upgrading to latest overlay (unfortunately there's about 150 packages to upgrade between the last image and overlay) dbus-monitor shows dbus/upstart spamming system dbus with NameOwnerChanged signals - there's no crash files or anything, but the top of top looks like so:

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 2921 phablet 20 0 1164048 277924 7444 S 34,9 28,3 4:18.54 ubuntu-push-cli
  847 message+ 20 0 6412 2444 832 R 32,9 0,2 3:43.92 dbus-daemon
 2255 phablet 20 0 7080 2172 1156 R 22,2 0,2 2:40.95 upstart
 2592 phablet 20 0 33704 4848 4140 R 17,6 0,5 1:52.28 mission-control

dbus-monitor shows hundreds of events like so:

signal time=1462098650.817539 sender=:1.0 -> destination=(null destination) serial=11224 path=/com/ubuntu/Upstart; interface=com.ubuntu.Upstart0_6; member=EventEmitted
   string "dbus"
   array [
      string "SIGNAL=NameOwnerChanged"
      string "BUS=session"
      string "INTERFACE=org.freedesktop.DBus"
      string "OBJPATH=/org/freedesktop/DBus"
      string "SENDER=org.freedesktop.DBus"
      string "ARG0=:1.167"
      string "ARG1="
      string "ARG2=:1.167"
   ]

3s of dbus-monitor:

$ time dbus-monitor > dbus.log
^C
real 0m2.719s

Shows 226 signals - so it's just under 100 signals a second:

$ grep -c NameOwnerChanged dbus.log
226

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: dbus 1.8.12-1ubuntu5
Uname: Linux 3.4.67 armv7l
ApportVersion: 2.17.2-0ubuntu1.3touch1
Architecture: armhf
Date: Sun May 1 12:22:38 2016
InstallationDate: Installed on 2016-04-29 (2 days ago)
InstallationMedia: Ubuntu 15.04 - armhf (20160429-020305)
SourcePackage: dbus
UpgradeStatus: No upgrade log present (probably fresh install)