Like in Ubuntu 18.04 systemd-udevd uses high CPU, conflict with wifi, I also have issues with an increasing CPU use of systemd-udevd, which is only temporarily resolved by (sudo) killing the specific process. However, my issue is not with the wifi, but with NVIDIA graphics:
Reading udevadm monitor
gives repeated lines like:
KERNEL[408.860342] remove /module/nvidia (module)
KERNEL[408.901437] add /module/nvidia (module)
KERNEL[408.916478] remove /module/nvidia (module)
UDEV [408.944573] add /module/nvidia (module)
UDEV [408.969459] remove /module/nvidia (module)
KERNEL[409.039276] add /module/nvidia (module)
KERNEL[409.060769] remove /module/nvidia (module)
and checking the less /var/log/syslog
gives repeated versions of:
May 13 00:09:28 Lenovo-ideapad-100-15IBY kernel: [28462.698688] nvidia-nvlink: Nvlink Core is being initialized, major device number 240
May 13 00:09:28 Lenovo-ideapad-100-15IBY kernel: [28462.699064] NVRM: No NVIDIA graphics adapter found!
May 13 00:09:28 Lenovo-ideapad-100-15IBY kernel: [28462.699186] nvidia-nvlink: Unregistered the Nvlink Core, major device number 240
May 13 00:09:28 Lenovo-ideapad-100-15IBY systemd-udevd[17923]: Process '/sbin/modprobe nvidia-modeset' failed with exit code 1.
May 13 00:09:28 Lenovo-ideapad-100-15IBY kernel: [28462.776222] nvidia-nvlink: Nvlink Core is being initialized, major device number 240
May 13 00:09:28 Lenovo-ideapad-100-15IBY kernel: [28462.776574] NVRM: No NVIDIA graphics adapter found!
May 13 00:09:28 Lenovo-ideapad-100-15IBY kernel: [28462.776690] nvidia-nvlink: Unregistered the Nvlink Core, major device number 240
May 13 00:09:28 Lenovo-ideapad-100-15IBY systemd-udevd[17923]: Process '/sbin/modprobe nvidia-drm' failed with exit code 1.
May 13 00:09:28 Lenovo-ideapad-100-15IBY systemd-udevd[17923]: Process '/sbin/modprobe nvidia-uvm' failed with exit code 1.
May 13 00:09:28 Lenovo-ideapad-100-15IBY systemd-udevd[17923]: Process '/usr/bin/nvidia-smi' failed with exit code 12.
May 13 00:09:28 Lenovo-ideapad-100-15IBY systemd[1]: nvidia-persistenced.service: Start request repeated too quickly.
May 13 00:09:28 Lenovo-ideapad-100-15IBY systemd[1]: nvidia-persistenced.service: Failed with result 'exit-code'.
May 13 00:09:28 Lenovo-ideapad-100-15IBY systemd[1]: Failed to start NVIDIA Persistence Daemon.
The drivers are up-to-date, and all other software on the laptop has been upgraded (today) to the latest versions, so I'm not sure what could be causing this issue. I'm not having any problems with the graphics (apart from lag when the CPU usage gets high because of this process), so I'm at a loss.
How can I stop this repeating, and thus swallowing CPU?
apt dist-upgrade
installednvidia-driver-410
(version 410.104-0ubuntu0~18.04.1) and the problem disappeared from my system. Up to that point, I used Y S Gupta's workaround. – Hermann Apr 22 '19 at 19:37