when I run top
command in my console after fresh start, I have a frontend
process that uses a lot of CPU.
Does anyone know what it is? Or how to check where it comes from?
when I run top
command in my console after fresh start, I have a frontend
process that uses a lot of CPU.
Does anyone know what it is? Or how to check where it comes from?
I had the same problem. You probably have a second process running (update-secureboot-policy), consuming CPU too.
It's a problem of DKMS not properly configured with Secure Boot enable. You can find documentation here
To solve this, you could configure DKMS properly or disable Secure Boot. I choosed the second one and disabled it on the bios.
If anyone is looking for the solution, I copy the solution from AskUbuntu by Andy K.
Killing is not an option and disabling SecureBoot is not good idea in UEFI era. The problem appears, because "frontend" program is waiting for password to enroll keys, but the GUI to type password is not displayed (this is some shitty bug).
It is happening usually after a system upgrade.
To resolve the problem you must (as root):
killall -9 frontend
update-secureboot-policy --enroll-key
In the appeared pink GUI:
Enroll Key...
(or Enroll MOK
or something similar to enroll. It could be different for each PC or BIOS firmware)Continue
to enroll itSee SecureBoot manual for details.
Killing the process 'frontend' (from a terminal window) seemed to have no effect (for now). Then typing the suggested command gave an error, but after that I could run the adapted vboxdrv.sh script and after that VirtualBox just worked.
The best option would be to check the process with the PID 7876; there are a lot of options to check it with the command ps; one of them would this one:
ps -p 7876 u
It would check the PID 7876 and which program is calling to that process; information that should be helpful...
I had the same problem. You probably have a second process running (update-secureboot-policy), consuming CPU too.
My solution was to remove VirtualBox:
sudo apt remove --purge virtualbox