-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
100% CPU load #4042
Comments
Hello and thank you for your report! Can you please enable verbose logs and either attach them here or send them to devteam@adguard.com? There's been a few reports about that recently, and we're already investigating. |
Here is the log. Containing the start of AdGuardHome and a spike to 100% CPU usage after a few seconds. |
I have the same issue on (x64 architecture) :
All seems to be OK on Raspberry (Pi 4B & Pi Zero W). |
Updates AdguardTeam/AdGuardHome#4042. Squashed commit of the following: commit 42f92b4 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed Dec 29 21:56:42 2021 +0300 proxy: fix logs commit a5b56fa Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed Dec 29 21:54:21 2021 +0300 proxy: fix tcp conn loop
Exact same issue started today for me after upgrading to v0.108.0-a.20+380cff07 arm64 version on Edge Channel. OpenWRT 21.02.1 running on Raspberry Pi 4B. Investigation with htop indicates that AdGuardHome is using nearly 100% of CPU on all four cores. Edit: As others have mentioned, rebooting or restarting the AGH service does not fix the issue. CPU utilization spikes to around 100% again after several minutes. |
@SCP-155, @CordoWEB, @trenchcoatjedi, @tuday2, we were able to reproduce the issue and posted a fix to the https://static.adguard.com/adguardhome/edge/AdGuardHome_linux_amd64.tar.gz Could any of you please verify that the fix works for you? If so, we'll release v0.107.2 in an hour or so. |
EDIT: Of course it didn't work for me. I'm not using AMD64 architecture and therefore can't test this. Will test an ARM64 version if you post a link. |
@trenchcoatjedi, that was a link for an AMD64 binary. Links to all https://static.adguard.com/adguardhome/edge/AdGuardHome_linux_arm64.tar.gz |
Now running v0.108.0-a.23+a0bb5ce8 on AMD64. |
No log, but same issue here after the update (v0.107.1) |
same |
Update for me after 20 minutes: |
Fixed with the new update v0.107.2 here also, normal CPU now. |
Thanks for testing and providing logs to all! |
Now running v0.108.0-a.23+a0bb5ce8 ARM64 version. After 30 min, usual metrics (mainly CPU utilization, IRQs and thermal) are back to baseline. Will report back if anything changes. Thanks for the help and support! |
Fixed with 0.107.2 for me as well. |
v0.107.2 [error] handling tcp: handling tcp request: talking to dns upstream: failed to check host "lati-af.opera.com": safe browsing: requesting https://dns-family.adguard.com:443/dns-query: Get "https://dns-family.adguard.com:443/dns-query?dns=_***": context deadline exceeded (Client.Timeout exceeded while awaiting headers) |
Updates AdguardTeam#4042. Squashed commit of the following: commit 7531b97 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed Dec 29 22:01:54 2021 +0300 all: upd dnsproxy
Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
Issue Details
Expected Behavior
Not utilizing 100% CPU power from
.../AdGuardHome -s run
process.Actual Behavior
AdGuardHome process is constantly using 100% CPU power (in my case 200% because the VM has 2 Cores). After manually restarting the process (
./AdGuardHome -s restart
) its using normal resources. After ~60 seconds its jumping back to 100% CPU load. RAM usage seems normal.Screenshots
Screenshot:
Additional Information
Problem only occurred after updating to v0.107.1
Please let me know if I can post any further information like logs, etc.
Edit: Restarting the whole Server does not help. CPU usage jumps to full utilization again.
The text was updated successfully, but these errors were encountered: