You are not logged in.
I have the same warnings generated by dbus-daemon. Fully updated Arch Linux stable branch, stock kernel.
@seth
for PID in $(pidof dbus-daemon); do printf "$PID : "; cat /proc/$PID/oom_score_adj; done
752 : 200
715 : 200
512 : -900
pacman -Qs dbus
local/dbus 1.12.20-1
Freedesktop.org message bus system
local/dbus-glib 0.112-2
GLib bindings for DBUS
local/libcloudproviders 0.3.1-2
DBus API that allows cloud storage sync clients to expose their services
local/libdbusmenu-glib 16.04.0-4
Library for passing menus over DBus
local/libdbusmenu-gtk3 16.04.0-4
Library for passing menus over DBus (GTK+ 3 library)
loginctl session-status
1 - jondoe (1000)
Since: Thu 2021-12-30 14:42:48 CET; 5min ago
Leader: 667 (lxdm-session)
Seat: seat0; vc1
TTY: tty1
Service: lxdm; type x11; class user
State: active
Unit: session-1.scope
├─667 /usr/lib/lxdm/lxdm-session
├─694 xfce4-session
├─769 /usr/bin/ssh-agent -s
├─778 xfwm4
├─784 xfsettingsd
├─788 xfce4-panel
├─792 Thunar --daemon
├─797 xfdesktop
├─798 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libwhiskermenu.so 16 16777223 whiskermenu [...]
├─799 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libsystray.so 7 16777224 systray [...]
├─800 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libpulseaudio-plugin.so 11 16777225 pulseaudio [...]
├─801 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libweather.so 8 16777226 weather [...]
├─802 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libnetload.so 9 16777227 netload [...]
├─808 /usr/lib/xfce4/panel/wrapper-2.0 /usr/lib/xfce4/panel/plugins/libactions.so 13 16777228 actions [...]
├─840 xfce4-power-manager
├─841 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
├─843 /usr/lib/xfce4/notifyd/xfce4-notifyd
├─905 xfce4-terminal
├─920 bash
├─975 loginctl session-status
└─976 less
gru 30 14:42:48 arch systemd[1]: Started Session 1 of User jondoe.
gru 30 14:45:51 arch su[923]: (to root) jondoe on pts/0
gru 30 14:45:51 arch su[923]: pam_unix(su-l:session): session opened for user root(uid=0) by (uid=1000)
gru 30 14:47:52 arch su[923]: pam_unix(su-l:session): session closed for user root
Offline
for PID in $(pidof dbus-daemon); do printf "$PID : "; cat /proc/$PID/oom_score_adj; done
427 : 100
If I dump dbus-broker it reports me a systemd-resolved error which I have activated.
Arch Linux Xfce - 64Bit Linux User #621110
Offline
What helps the three people reading this thread
This thread has 1,016 views, so I think there are more people reading it then just the 3 (well, 4 now) posters .
I'm also subscribed to the systemd bug and looking forward to new contributions to it.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
@Fixxer - there's the 200
ps u 752 715
@robson, dbus-broker is absolved because Fixxer doesn't have it.
Why's there only one process w/ now 100?
ps u 427
Offline
ps u 427
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
robson 427 0.0 0.0 13968 6904 ? Ss 14:29 0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
Arch Linux Xfce - 64Bit Linux User #621110
Offline
That's the session bus, but why is it only at 100? Does OOMScoreAdjust stack the values?
Can you
echo 50 > /proc/427/oom_score_adj
?
Offline
No error means "worked" and that means the "100" was somehow set on the process by your user.
Any idea how that might have happened?
But it's also weird that you don't have the -900 session bus (which has been there foralmostever)…
Offline
Ok. It's new session, as follows:
for PID in $(pidof dbus-daemon); do printf "$PID : "; cat /proc/$PID/oom_score_adj; done
883 : 200
849 : 200
519 : -900
ps u 849 883
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
johndoe 849 0.0 0.0 13924 6648 ? Ss 18:36 0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork
johndoe 883 0.0 0.0 13636 6324 ? S 18:36 0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
Offline
journalctl -b -g oom
gru 30 18:49:17 home at-spi-bus-launcher[410]: dbus-daemon[410]: writing oom_score_adj error: Permission denied
for PID in $(pidof dbus-daemon); do printf "$PID : "; cat /proc/$PID/oom_score_adj; done
389 : 200
348 : 200
261 : -900
ps u 410 389 348 261
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
dbus 261 0.0 0.2 14444 7008 ? Ss 18:48 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
user 348 0.0 0.1 13860 6520 ? Ss 18:49 0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
user 389 0.0 0.1 13596 5864 ? S 18:49 0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
user 410 0.0 0.1 161468 6668 ? Sl 18:49 0:00 /usr/lib/at-spi2-registryd --use-gnome-session
getpcaps 410 389 348 261
410: =
389: =
348: =
261: cap_audit_write=ep
pacman -Qs dbus
local/dbus 1.12.20-1
Freedesktop.org message bus system
local/dbus-glib 0.112-2
GLib bindings for DBUS
local/dbus-python 1.2.18-3
Python bindings for DBUS
local/kdbusaddons 5.89.0-1 (kf5)
Addons to QtDBus
local/libcloudproviders 0.3.1-2
DBus API that allows cloud storage sync clients to expose their services
local/libdbusmenu-glib 16.04.0-4
Library for passing menus over DBus
local/libdbusmenu-gtk3 16.04.0-4
Library for passing menus over DBus (GTK+ 3 library)
local/libdbusmenu-qt5 0.9.3+16.04.20160218-6
A library that provides a Qt implementation of the DBusMenu spec
local/xdg-dbus-proxy 0.1.2-3
Filtering proxy for D-Bus connections
Offline
261 is the session bus, that's not scary.
If you apply the "fix" from https://bbs.archlinux.org/viewtopic.php … 6#p2012166 - does the session bus (or at-spi's thing) end up w/ and adjustment of 0, 100 or 200?
Offline
Late coming back to this cluster f&^% party...
If you apply the "fix" from https://bbs.archlinux.org/viewtopic.php … 6#p2012166
Yes, it worked; but as expected, upgrade to systemd 250-4 put the damn thing right back. Re-did the fix, and here we go:
journalctl -b -g oom
-- No entries --
for PID in $(pidof dbus-daemon); do printf "$PID : "; cat /proc/$PID/oom_score_adj; done
1464 : 100
1399 : 100
613 : -900
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
dbus 613 0.0 0.0 13892 6632 ? Ss 19:52 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
merell 1399 0.0 0.0 13576 5928 ? Ss 19:52 0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
merell 1464 0.0 0.0 13572 5800 ? S 19:52 0:00 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
getpcaps 1464 1399 613
1464: =
1399: =
613: cap_audit_write=ep
pacman -Qs dbus
local/dbus 1.12.20-1
Freedesktop.org message bus system
local/dbus-glib 0.112-2
GLib bindings for DBUS
local/dbus-python 1.2.18-3
Python bindings for DBUS
local/libcloudproviders 0.3.1-2
DBus API that allows cloud storage sync clients to expose their services
local/libdbusmenu-glib 16.04.0-4
Library for passing menus over DBus
local/libdbusmenu-gtk2 16.04.0-4
Library for passing menus over DBus (GTK+ 2 library)
local/libdbusmenu-gtk3 16.04.0-4
Library for passing menus over DBus (GTK+ 3 library)
local/python-pydbus 0.6.0-9
Pythonic D-Bus library
local/xdg-dbus-proxy 0.1.2-3
Filtering proxy for D-Bus connections
1 - merell (1000)
Since: Thu 2021-12-30 19:52:33 EST; 20min ago
Leader: 720 (greetd)
Seat: seat0; vc7
TTY: tty7
Service: greetd; type wayland; class user
State: active
Unit: session-1.scope
├─ 720 /usr/bin/greetd --session-worker 11
├─ 821 sway
├─ 1268 swaybg -o "*" -i /home/merell/.config/sway/images/wallpaper.jpg -m stretch
├─ 1373 swaybar -b bar-0
├─ 1375 wl-paste -t text --watch clipman store
├─ 1377 wl-paste -p -t text --watch clipman store -P --histpath=~/.local/share/clipman-primary.json
├─ 1379 /usr/bin/python /usr/bin/autotiling
├─ 1381 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
├─ 1383 wish /usr/bin/tkremind /home/merell/.config/remind/reminders.rem /home/merell/.config/remind/tkreminders /home/merell/.config/remind/tkremindrc
├─ 1385 radeon-profile
├─ 1408 swayidle -w timeout 480 "swaylock -f -i ~/.config/sway/images/lockscreen_background.jpg -s stretch" timeout 600 "swaymsg \"output * dpms off\"" resume "swaymsg \"output * dpms on\""
├─ 1417 Xwayland :0 -rootless -terminate -core -listenfd 35 -listenfd 37 -wm 69
├─ 1508 /usr/bin/python /usr/bin/py3status
├─ 1579 conky -c /tmp/py3status_conky-jruf_3iq.conf
├─ 1680 remind -z0 -itkremind=1 /home/merell/.config/remind/reminders.rem
├─ 2204 /usr/bin/python /usr/bin/FAHControl
├─ 2311 kitty
├─ 2333 /bin/bash
├─ 2401 ssh-agent
├─ 2531 /usr/bin/python /usr/bin/powerline-daemon -q
├─ 3086 /usr/bin/python3 /usr/bin/qutebrowser
├─ 3137 "/usr/lib/qt/libexec/QtWebEngineProcess --type=zygote --no-zygote-sandbox --application-name=qutebrowser --webengine-schemes=qute:lL;qrc:sLV --lang=en"
├─ 3138 "/usr/lib/qt/libexec/QtWebEngineProcess --type=zygote --application-name=qutebrowser --webengine-schemes=qute:lL;qrc:sLV --lang=en"
├─ 3140 "/usr/lib/qt/libexec/QtWebEngineProcess --type=zygote --application-name=qutebrowser --webengine-schemes=qute:lL;qrc:sLV --lang=en"
├─ 3162 "/usr/lib/qt/libexec/QtWebEngineProcess --type=utility --utility-sub-type=network.mojom.NetworkService --enable-features=AllowContentInitiatedDataUrlNavigations,OverlayScrollbar,ReducedReferrerGranularity,TracingServiceInProcess,WebRTCPipeWireCapturer --disable-features=BackgroundFetch,ConsolidatedMovementXY,DnsOverHttpsUpgrade,FontSrcLocalMatching,InstalledApp,MojoVideoCapture,PictureInPicture,SmsReceiver,UseSkiaRenderer,WebPayments,WebUSB --lang=en --service-sandbox-type=network --use-gl=egl --application-name=qutebrowser --webengine-schemes=qute:lL;qrc:sLV --shared-files"
├─ 3164 "/usr/lib/qt/libexec/QtWebEngineProcess --type=renderer --disable-speech-api --enable-threaded-compositing --enable-features=AllowContentInitiatedDataUrlNavigations,OverlayScrollbar,ReducedReferrerGranularity,TracingServiceInProcess,WebRTCPipeWireCapturer --disable-features=BackgroundFetch,ConsolidatedMovementXY,DnsOverHttpsUpgrade,FontSrcLocalMatching,InstalledApp,MojoVideoCapture,PictureInPicture,SmsReceiver,UseSkiaRenderer,WebPayments,WebUSB --lang=en --webengine-schemes=qute:lL;qrc:sLV --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=4 --shared-files"
└─12789 loginctl session-status
└─12028 less
Dec 30 19:52:35 Jammin1 py3status[1508]: storage_path: /home/merell/.cache/py3status_cache.data
Dec 30 19:52:35 Jammin1 py3status[1508]: starting module clock
Dec 30 19:52:35 Jammin1 py3status[1508]: starting module volume_status
Dec 30 19:52:35 Jammin1 py3status[1508]: starting module conky proc
Dec 30 19:52:35 Jammin1 py3status[1508]: starting module lm_sensors _anon_module_1
Dec 30 19:52:35 Jammin1 py3status[1508]: starting module frame lm_sensors
Dec 30 19:52:35 Jammin1 py3status[1508]: starting module lm_sensors _anon_module_0
Dec 30 19:52:35 Jammin1 py3status[1508]: starting module sysdata
Dec 30 19:52:35 Jammin1 py3status[1508]: Module `weather_owm`: HTTP request retry 1/3
Dec 30 19:52:35 Jammin1 py3status[1508]: starting module systemd
(END)
I can write any arbitrary positive number as user to both /proc/$userPID/oom_score_adj, although negative numbers give a permission denied.
Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
It's a big club...and you ain't in it -- George Carlin
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '
Offline
negative numbers give a permission denied.
Perfectly normal - did you try to write the oom_score_adj on the dbus processes when they're at 200? Can you go down to 100? Lower?
Offline
did you try to write the oom_score_adj on the dbus processes when they're at 200? Can you go down to 100? Lower?
IIRC, I could get the values down to 100, and anything lower came back with permission denied.
Eenie meenie, chili beanie, the spirits are about to speak -- Bullwinkle J. Moose
It's a big club...and you ain't in it -- George Carlin
Registered Linux user #149839
perl -e 'print$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10); '
Offline