(d-logind) process consumes 100% CPU

On a droplet with Ubuntu 20.04.2 LTS there’s a “(d-logind)” process in “top” which is consuming 100% CPU all the time. What is this process, and what causes this CPU usage?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @rwaple41,

This process is related to systemd-logind. This is a system service that manages user logins. It is responsible for: Keeping track of users and sessions, their processes and their idle state.

Which makes your issue all the weirder. Having said that, I tried to troubleshoot it a bit. I couldn’t find anything specific without knowing the exact issue. As such, I’ll recommend checking your journal log to see the exact errors that are being experienced:

journalctl -xe

From there we can see what further needs to be done.

Regards, KFSys