systemd-udevd busyloops when nvidia kernel module fails to load
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
On a machine where nvidia-367 is installed, but the driver won't attach (due to
the nvidia card being older and requiring legacy drivers), systemd-udevd
repeatedly attempts to load it anyway, causing high CPU and memory usage. I
observed the systemd-udevd process at 98% CPU usage and 2.5G RSS reported by
top(1); restarting the service reduces resource usage momentarily, but it
appears to be climbing back up (I suspect the number of events is growing).
Workaround is of course installing the correct driver package, but udevd really
ought not behave like this if something fails to load.
Some journal entries for systemd-
Jan 11 11:22:11 systemd-
Jan 11 11:22:11 systemd-
Jan 11 11:22:11 systemd-
Jan 11 11:22:11 systemd-
Jan 11 11:22:11 systemd-
Jan 11 11:22:11 systemd-
Jan 11 11:22:12 systemd-
Jan 11 11:22:12 systemd-
Jan 11 11:22:12 systemd-
Jan 11 11:22:12 systemd-
dmesg shows repeated failures for loading the nvidia module:
[1675406.
NVRM: supported through the NVIDIA 340.xx Legacy drivers. Please
NVRM: visit http://
NVRM: information. The 367.57 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe...
[1675406.
[1675406.
Release information:
# lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
# apt policy systemd udev
systemd:
Installed: 229-4ubuntu13
Candidate: 229-4ubuntu13
Version table:
*** 229-4ubuntu13 500
500 http://
100 /var/lib/
229-4ubuntu10 500
500 http://
229-4ubuntu4 500
500 http://
udev:
Installed: 229-4ubuntu13
Candidate: 229-4ubuntu13
Version table:
*** 229-4ubuntu13 500
500 http://
100 /var/lib/
229-4ubuntu10 500
500 http://
229-4ubuntu4 500
500 http://
Status changed to 'Confirmed' because the bug affects multiple users.