For about the past month, the “/usr/lib/systemd/systemd --user” process on my system will intermittently spike to 8% total CPU usage, ie it’s maxing out 1 of my 12 cores (Intel i7-8700). RAM, disk I/O, and network are not being taxed when this happens. GPU utilization and VRAM are also not being taxed, according to the nvidia control panel. I’m having trouble tracking down why this is happening.
One thing I’ve noticed is that when it’s in this state, opening a new gnome-terminal window takes a weirdly long time - the window appears, but isn’t interactive and the prompt doesn’t appear until after several seconds.
This happens intermittently enough that i can’t tell what triggers it. It starts doing it randomly, can last for minutes or an hour, then stops just as suddenly. It’s just as likely to happen while I’m away, and I come back to find the core spiked, as when i’m in the middle of doing something on the machine. It happens regardless of what programs I’m actively running.
Checking journalctl, I see a bunch of warnings related to Gnome Shell and various extensions I’m running - hence why I posted this in the Gnome subforum - but as I’m unused to poring over journalctl’s output I can’t tell which one (if any) might be causing the issue. I’ve tried disabling all extensions, and the problem seemed to go away (but because it’s so sporadic, hard to say if it really did?). I tried re-enabling extensions one by one, to see if i could find one that started the issue, but I got different results on different sessions :[
I tried searching for several variations on “systemd high CPU”, “gnome shell extension high cpu”, anything else I could think of, and found nothing that seemed like it described the problem I’m seeing.
Like I said, this started happening over a month ago - my best guess (it took me a while to notice it was happening) was after the June 12th Stable update.
software: manjaro stable branch (Gnome 42.3, kernel 5.18.12-3, Pipewire 0.3.56-1)
hardware: Nvidia GTX 1070 (latest binary drivers) on X11, 32GB RAM