Several times per day, somehow a bunch of processes start running and consuming large amounts of CPU and battery. Many (different) processes are run sequentially, each of which looks something like the following (gotten through htop), but with different packages replacing kmod.x86_64.
/usr/bin/python3 /usr/bin/dnf info kmod.x86_64
It cycles through many different packages in alphabetical order. The whole process takes about 30 minutes, utilizing a lot of CPU and eating about 10% of my laptop battery (which isn’t great).
Killing each individual process doesn’t really work because each one happens too quickly to stop. I can stop it overall with sudo killall dnf
but the whole thing just starts again a few hours later (and I have no idea if killall-ing dnf is a bad idea for other reasons).
Two questions:
- Why is this happening?
- Is there some way I can proactively stop this rather than killing it when I notice it?