-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pop-upgrade 100% CPU usage #297
Comments
Same issue here! |
It started recently for me too (22.04), the fan noise in unbearable, hope it is fixed soon! |
Same here (22.04). 8 cores running full speed for more then 15 minutes. Its doing some SSL encrypted traffic with an amazonaws host. Upgrade... really? |
Killed it with a -9 and it reported:
|
@mmstick @jackpot51
|
I managed to trace it back (IMHO) to me activating Settings/OS Upgrade& Recovery/OS Recovery/Update Recovery Partition. |
Yes, the pop-upgrade daemon process comes up after a while after each visit here |
This looks like a network issue. I tried to tune the network via proxy or vpn Or just switch from network A to network B and found that I don't have these problems. Could it be that for some reason the network is not connecting and eventually the pop-upgrage daemon process is blocking? |
I also see this problem being related to a network problem. I left my computer running over night and the following morning I noticed the fans going at full blast. I tried to google about the problem, and noticed my internet access was behaving very strangely. It was not completely cut, but most sites would take unusually long to load or to fail loading. It could have been related to DNS not resolving, as pings were working normally. I could not debug further as I just restarted the wifi and the connection returned to normal. Unfortunately, Running "sudo apt update" returned errors on some of the ubuntu repositories; for example:
It looks like the Argentinean mirror for ubuntu got offline since a few hours for some reason. I edited I never get this kind of errors, and I always update via terminal. So I definitely suspect this is related to the blocking state of |
Try using |
Thank you for your suggestion @mmstick I installed Pop!_OS 22.04 a couple of months ago, and never changed the repositories. PopOS's installer must have chosen Argentinean Ubuntu mirror based on localization during installation. Are you sure it safe to change |
The installer does not make this change and installs are performed offline. You were supposed to already be on apt.pop-os.org automatically after the update was made a while back.
|
For what it's worth, when I originally posted it, for one reason or another I think the 100% CPU usage might have to do with a retry mechanism for fetching updates or something else. Instead of sleeping for an amount of time, it might be entering a loop that never exits or sleeps. I haven't encountered the issue for the past couple of months, but I don't know if that's because the code for this tool has changed or because a tool like |
I'm thinking it's probably a retry mechanism too |
This still happens from time to time. Killing it -9 works ... Odd, and a bit annoying, but killing it is easy. |
This happens for me as well about once a month. I have a server running pop, so I don't always know when the CPU is going all-out. Kinda annoying so I just ran
Not sure if this is a good idea or if the solution will work. The issue is so intermittent that it will be a while before I know. |
For me this sometimes happens on my laptop after unsuspending and might also be related to adverse network conditions (mobile hotspot not connected anymore after unsuspend etc.). |
Just happened for me on my NAS, Pop!_OS 22.04 LTS. Rebooted for memory upgrade, the reboot hang on Stopping pop-upgrade daemon... then it was killed by systemd after 1m 30s. Then I've done apt update, apt upgrade -y, and it worked - even while this thing is happening. EDIT: it doesn't die easily. There are many child processes, many of them are |
Running Pop_OS! 22.04.
I have automatic updates disabled, automatic install disabled, and update notifications set to Weekly.
I noticed that my fans started going full speed and htop showed that
pop-upgrade daemon
was at 100% CPU.The process tree showed that there was an apt-get instance that was defunct.
I let it sit for a few hours before using
kill -9
to stop it.Another symptom that may be related, running
apt update
shows that it is unable to reachapt.pop-os.org
Visiting apt.pop-os.org in Firefox does not seem to be an issue.
The text was updated successfully, but these errors were encountered: