Hundreds of dbus-daemon processes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dbus (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I find a growing number of root owned dbus-daemon processes.
Eventually, this results in a 'too many processes' error preventing something to fork, e.g. a login.
They get created by batches of 4, every 30 minutes on my box.
My box is a puppet client, so that these 30 minutes are not in a local cron tab.
The pids are 11 units apart (when the box is otherwise idle).
The command line is:
//bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
~# ps -fu root | grep dbus-daemon | grep -v grep | tail -8
root 17509 1 0 11:25 ? 00:00:00 //bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
root 17520 1 0 11:25 ? 00:00:00 //bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
root 17531 1 0 11:25 ? 00:00:00 //bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
root 17542 1 0 11:25 ? 00:00:00 //bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
root 17972 1 0 11:55 ? 00:00:00 //bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
root 17983 1 0 11:55 ? 00:00:00 //bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
root 17994 1 0 11:55 ? 00:00:00 //bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
root 18005 1 0 11:55 ? 00:00:00 //bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
I reported this first to https:/
and was told to report it to ubuntu instead.
Here were some additional comments:
The symptoms you described probably mean that something running as root is either running /usr/bin/
If this machine does not intentionally run an X11 GUI or a D-Bus session, uninstalling the dbus-x11 package or making /usr/bin/
Since 1.4.8, dbus autolaunch has only been effective when DISPLAY is set and non-empty, so if this is autolaunch, an X11 session must be involved somehow.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: dbus 1.4.18-1ubuntu1.4
ProcVersionSign
Uname: Linux 3.2.0-58-generic x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Mon Jan 27 14:51:19 2014
MarkForUpload: True
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_US.UTF-8
SourcePackage: dbus
UpgradeStatus: No upgrade log present (probably fresh install)
We're also seeing this at my workplace (Salesforce) and people are running scripts to clean up the processes. It's irritating as it can spawn enough processes to prevent you from remotely logging in.
I hit this page when googling around looking for a solution.