SystemD-LoginD High CPU Usage
I recently repurposed a Dell Latitude Laptop to run my Plex Server. I wiped the laptop, updated the drivers and installed Ubuntu 20.04 along with the latest Plex software. Shortly thereafter, I noticed that 4K video was stuttering and the CPU usage of the laptop was at 100%.
top command showed
systemd-logind using 70-85% CPU and
systemd-journal using ~20%.
Let's check the logs
And I see a million and 5 of these errors.
Turns out that I didn't disable sleep and hibernation on my laptop prior to closing the lid and putting it on my rack.
The fix is simple.
First, you should backup your
Then restart the service