Bug#788622: systemd-logind regularly eats over 20% of system resources

Martin-Éric Racine martin-eric.racine at iki.fi
Sat Jun 13 18:35:15 BST 2015


2015-06-13 19:52 GMT+03:00 Michael Biebl <biebl at debian.org>:
> Am 13.06.2015 um 18:39 schrieb Martin-Éric Racine:
>> 2015-06-13 18:42 GMT+03:00 Michael Biebl <biebl at debian.org>:
>
>>> Can you run "udevadm monitor"
>>
>> Endless series of these:
>>
>> KERNEL[4312.794011] change
>> /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0
>> (power_supply)
>> UDEV  [4312.799277] change
>> /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0
>> (power_supply)
>
> No other events related to the drm subsystem?

Nothing else than those PSU-related lines.

> logind subscribes to various udev events [1], and if your system
> produces a huge amount of them, it's quite possible that this takes some
> amount of CPU time.
>
> Can you also boot with systemd.log_level=debug on the kernel command
> line and attach the log from
> journalctl -u systemd-logind

$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-686-pae
root=UUID=cd9a1998-9fb2-4208-aba6-bc2ba8f5e36a ro panic=15
video=TV-1:d video=SVIDEO-1:d video=LVDS-1:d systemd.log_level=debug
quiet splash

$ sudo  journalctl -u systemd-logind
-- Logs begin at la 2015-06-13 20:16:36 EEST, end at la 2015-06-13
20:31:54 EEST. --
kesä 13 20:19:19 suomi systemd-logind[603]: New seat seat0.
kesä 13 20:19:19 suomi systemd-logind[603]: Watching system buttons on
/dev/input/event4 (Video Bus)
kesä 13 20:19:19 suomi systemd-logind[603]: Watching system buttons on
/dev/input/event2 (Power Button)
kesä 13 20:19:19 suomi systemd-logind[603]: Watching system buttons on
/dev/input/event1 (Lid Switch)
kesä 13 20:19:19 suomi systemd-logind[603]: Watching system buttons on
/dev/input/event3 (Sleep Button)
kesä 13 20:21:40 suomi systemd-logind[603]: New session c1 of user Debian-gdm.
kesä 13 20:22:58 suomi systemd-logind[603]: New session 1 of user perkelix.

That's all it reported.

-- Martin-Éric




More information about the Pkg-systemd-maintainers mailing list