DBUS creates endless processes

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :)

Moderator: Moderators

Post Reply
eltonnmc
Baby Hen
Posts: 4
Joined: Fri Jul 17, 2020 3:10

DBUS creates endless processes

Post by eltonnmc » Fri Jul 17, 2020 3:58

Hi guys,
I'm running Sabayon for almost a year now. Recently, beginning before yesterday, I noticed my systems would freeze after some time.
I found out that there is a lot of dbus-daemon processes running, with more being created after a few seconds.
I'm including a small part of the output of ps -A. The dbus command being run in all the instances is
/usr/bin/dbus-daemon --syslog-only --fork --print-pid 5 --print-address 7 --session
Can someone help me figure this out?

Code: Select all

  PID TTY          TIME CMD
  .......
  111 ?        00:00:00 kworker/3:1H-events_highpri
  489 ?        00:00:00 jbd2/sda2-8
  490 ?        00:00:00 ext4-rsv-conver
  538 ?        00:00:00 ipv6_addrconf
  578 ?        00:00:00 kworker/3:2-mm_percpu_wq
  581 ?        00:00:02 systemd-journal
  603 ?        00:00:00 systemd-udevd
  605 ?        00:00:00 kworker/2:1H-events_highpri
  656 ?        00:00:00 cfg80211
  711 ?        00:00:00 jbd2/sda3-8
  712 ?        00:00:00 ext4-rsv-conver
  720 ?        00:00:00 systemd-timesyn
  733 ?        00:00:00 kmemstick
  735 ?        00:00:01 rtsx_usb_ms_1
  770 ?        00:00:00 systemd-logind
  771 ?        00:00:00 ModemManager
  772 ?        00:00:01 dbus-daemon
  776 ?        00:00:01 NetworkManager
  777 ?        00:00:00 cupsd
  789 ?        00:00:00 cups-browsed
  792 ?        00:00:33 dropbox
  795 ?        00:00:00 lightdm
  797 ?        00:00:00 dbus
  798 ?        00:00:00 dbus
  799 ?        00:00:00 dbus
  800 ?        00:00:00 dbus
  801 ?        00:00:00 polkitd
  802 ?        00:00:00 dbus
  803 ?        00:00:00 dbus
  807 ?        00:00:00 dbus
  814 tty1     00:00:00 agetty
  817 ?        00:00:00 dbus
  818 ?        00:00:00 dbus
  819 ?        00:00:00 dbus
  820 ?        00:00:00 dbus
  821 ?        00:00:00 dbus
  835 tty7     00:01:59 Xorg
  836 ?        00:00:00 accounts-daemon
  846 ?        00:00:03 core
  848 ?        00:00:00 kworker/u17:1-i915-userptr-acquire
  869 ?        00:00:00 wpa_supplicant
  929 ?        00:00:00 upowerd
  951 ?        00:00:00 lightdm
 1046 ?        00:00:00 ath9k-hwrng
 1047 ?        00:00:00 systemd
 1048 ?        00:00:00 (sd-pam)
 1053 ?        00:00:00 startplasma-x11
 1060 ?        00:00:00 dbus-daemon
 1079 ?        00:00:00 start_kdeinit
 1080 ?        00:00:00 kdeinit5
 1081 ?        00:00:00 klauncher
 1096 ?        00:00:19 core
 1130 ?        00:00:00 dhclient
 1132 ?        00:00:04 kded5
 1151 ?        00:01:57 kwin_x11
 1163 ?        00:00:00 dconf-service
 1189 ?        00:00:01 kactivitymanage
 1202 ?        00:00:01 kglobalaccel5
 1206 ?        00:00:01 ksmserver
 1220 ?        00:00:01 polkit-kde-auth
 1222 ?        00:00:00 xembedsniproxy
 1224 ?        00:00:22 plasmashell
 1228 ?        00:00:01 kaccess
 1235 ?        00:00:00 gmenudbusmenupr
 1252 ?        00:00:00 rtkit-daemon
 1281 ?        00:00:00 agent
 1288 ?        00:00:01 org_kde_powerde
 1301 ?        00:00:01 magneto
 1311 ?        00:00:00 tracker-miner-r
 1313 ?        00:00:00 tracker-miner-f
 1318 ?        00:00:00 gvfsd
 1325 ?        00:00:00 gvfsd-fuse
 1353 ?        00:00:00 gvfs-udisks2-vo
 1358 ?        00:00:00 udisksd
 1414 ?        00:00:00 gvfs-afc-volume
 1420 ?        00:00:00 gvfs-gphoto2-vo
 1426 ?        00:00:01 kscreen_backend
 1428 ?        00:00:00 obexd
 1429 ?        00:00:00 gvfs-mtp-volume
 1434 ?        00:00:00 gvfs-goa-volume
 1439 ?        00:00:00 goa-daemon
 1462 ?        00:00:00 goa-identity-se
 1489 ?        00:00:06 RigoDaemon_app.
 1527 ?        00:00:00 pulseaudio
 1539 ?        00:00:00 gsettings-helpe
 1616 ?        00:03:31 ksysguard
 1806 ?        00:06:23 firefox
 1875 ?        00:00:14 Privileged Cont
 1929 ?        00:03:59 Web Content
 1964 ?        00:00:14 WebExtensions
 2100 ?        00:00:00 file.so
 4332 ?        00:00:00 gvfsd-metadata
 5582 ?        00:00:00 avahi-daemon
 5583 ?        00:00:00 avahi-daemon
 5584 ?        00:00:00 kworker/0:0-mm_percpu_wq
10509 ?        00:00:01 kworker/u16:0-events_unbound
11935 ?        00:00:00 kworker/2:1-mm_percpu_wq
12859 ?        00:00:00 kworker/u16:3-events_power_efficient
14438 ?        00:00:10 Web Content
14994 ?        00:00:00 kworker/u16:2-phy0
15349 ?        00:00:00 kworker/3:0-mm_percpu_wq
19079 ?        00:00:00 kworker/1:2-events
19440 ?        00:00:00 dbus-daemon
19749 ?        00:01:07 Web Content
19987 ?        00:00:01 konsole
19998 pts/1    00:00:00 bash
20653 ?        00:00:00 kworker/0:1-cgroup_destroy
20898 ?        00:00:00 dbus-daemon
20903 ?        00:00:00 dbus-daemon
20913 ?        00:00:03 ksysguardd
20920 ?        00:00:00 dbus-daemon
20925 ?        00:00:00 dbus-daemon
20936 ?        00:00:00 dbus-daemon
20942 ?        00:00:00 dbus-daemon
20950 ?        00:00:00 dbus-daemon
20955 ?        00:00:00 dbus-daemon
20970 ?        00:00:39 Web Content
21009 ?        00:00:00 dbus-daemon
21014 ?        00:00:00 dbus-daemon
21032 ?        00:00:00 dbus-daemon
21037 ?        00:00:00 dbus-daemon
21047 ?        00:00:00 dbus-daemon
21052 ?        00:00:00 dbus-daemon
21064 ?        00:00:00 dbus-daemon
21069 ?        00:00:00 dbus-daemon
21078 ?        00:00:00 dbus-daemon
21083 ?        00:00:00 dbus-daemon
21095 ?        00:00:00 dbus-daemon
21100 ?        00:00:00 dbus-daemon
21110 ?        00:00:00 dbus-daemon
21115 ?        00:00:00 dbus-daemon
21125 ?        00:00:00 dbus-daemon
21130 ?        00:00:00 dbus-daemon
21142 ?        00:00:00 dbus-daemon
21147 ?        00:00:00 dbus-daemon
21156 ?        00:00:00 dbus-daemon
21161 ?        00:00:00 dbus-daemon
21173 ?        00:00:00 dbus-daemon
21178 ?        00:00:00 dbus-daemon
21189 ?        00:00:00 dbus-daemon
21194 ?        00:00:00 dbus-daemon
21204 ?        00:00:00 dbus-daemon
21209 ?        00:00:00 dbus-daemon
21221 ?        00:00:00 dbus-daemon
21226 ?        00:00:00 dbus-daemon
21236 ?        00:00:00 dbus-daemon
21241 ?        00:00:00 dbus-daemon
21253 ?        00:00:00 dbus-daemon
21258 ?        00:00:00 dbus-daemon
21268 ?        00:00:00 dbus-daemon
21273 ?        00:00:00 dbus-daemon
21284 ?        00:00:00 dbus-daemon
21289 ?        00:00:00 dbus-daemon
21301 ?        00:00:00 dbus-daemon
21306 ?        00:00:00 dbus-daemon
21316 ?        00:00:00 dbus-daemon
21321 ?        00:00:00 dbus-daemon
21332 ?        00:00:00 dbus-daemon
21337 ?        00:00:00 dbus-daemon
......

Stupot
Sagely Hen
Posts: 1793
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: DBUS creates endless processes

Post by Stupot » Fri Jul 17, 2020 14:48

That's definitely not normal.

Code: Select all

[email protected] ~ $ ps aux | grep dbus
message+  1049  0.0  0.0   7764  5500 ?        Ss   09:26   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
stupot    1352  0.0  0.0   6732  4760 ?        Ss   09:29   0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
stupot    1525  0.0  0.0 435068 22748 ?        Sl   09:29   0:00 /usr/bin/gmenudbusmenuproxy
stupot    4575  0.0  0.0 217700   812 pts/1    S+   09:42   0:00 grep --colour=auto dbus
It's weird that your dbus-daemon command looks so vastly different from mine.

What does

Code: Select all

ps -p 5 -o command
tell you the command with pid 5 is?

eltonnmc
Baby Hen
Posts: 4
Joined: Fri Jul 17, 2020 3:10

Re: DBUS creates endless processes

Post by eltonnmc » Fri Jul 17, 2020 17:06

The answer seems deceptive!

Code: Select all

[email protected] ~ $ ps -p 5 -o command
COMMAND

eltonnmc
Baby Hen
Posts: 4
Joined: Fri Jul 17, 2020 3:10

Re: DBUS creates endless processes

Post by eltonnmc » Sat Jul 18, 2020 15:58

Just a little update. Today I retry the commando and get this:

Code: Select all

[email protected] ~ $ ps -p 5 -o command
COMMAND
[kworker/0:0-events]

joost
Sagely Hen
Posts: 2805
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands
Contact:

Re: DBUS creates endless processes

Post by joost » Sat Jul 18, 2020 18:00

Doesn't happen on my system:

Code: Select all

[email protected] ~ $ ps aux | grep dbus
message+   839  0.0  0.0   7340  4972 ?        Ss   19:52   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
joost     1221  0.0  0.0   6532  4500 ?        Ss   19:53   0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
joost     1357  0.0  0.2 435076 22400 ?        Sl   19:53   0:00 /usr/bin/gmenudbusmenuproxy
joost     1421  0.0  0.0   5836  3196 ?        S    19:53   0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
joost     2568  0.0  0.0 217688   808 pts/2    S+   20:02   0:00 grep --colour=auto dbus
[email protected] ~ $

Code: Select all

[email protected] ~ $ uptime
 20:03:27 up 10 min,  4 users,  load average: 0,65, 0,51, 0,30

Code: Select all

[email protected] ~ $ uname -a
Linux XBOX-360 5.6.0-sabayon #1 SMP Tue Jun 23 13:11:32 UTC 2020 x86_64 Intel(R) Core(TM) i5-4440 CPU @ 3.10GHz GenuineIntel GNU/Linux
My blog | Mastodon | Please support Sabayon: Become a Patron

eltonnmc
Baby Hen
Posts: 4
Joined: Fri Jul 17, 2020 3:10

Re: DBUS creates endless processes

Post by eltonnmc » Sun Jul 19, 2020 0:49

Hi guys,
I found the process that's causing all the trouble.
If I stop the warsaw service, all the excessive dbus instances are closed.
If a start the warsaw service the processes start appearing again.
The warsaw, is a security service for accessing internet banking, but what now?
Any ideas ?

Stupot
Sagely Hen
Posts: 1793
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: DBUS creates endless processes

Post by Stupot » Wed Jul 22, 2020 17:02

You might need to reach out to warsaw developers. You could also look into running warsaw in a docker container to isolate it.

Post Reply