mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2026-03-04 00:01:12 -05:00
High CPU Usage and Service Crash in v0.107.61 Under TLS Handshake Failures and DNS Upstream Timeouts #5638
Labels
No labels
P1: Critical
P2: High
P3: Medium
P4: Low
UI
bug
cannot reproduce
compatibility
dependencies
docker
documentation
duplicate
enhancement
enhancement
external libs
feature request
good first issue
help wanted
infrastructure
invalid
localization
needs investigation
performance
potential-duplicate
question
recurrent
research
snap
waiting for data
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AdGuardHome#5638
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @danielraffel on GitHub (Apr 29, 2025).
Prerequisites
I have checked the Wiki and Discussions and found no answer
I have searched other issues and found no duplicates
I want to report a bug and not ask a question or ask for help
I have set up AdGuard Home correctly and configured clients to use it. (Use the Discussions for help with installing and configuring clients.)
Platform (OS and CPU architecture)
Linux, AMD64 (aka x86_64)
Installation
GitHub releases or script from README
Setup
On one machine
AdGuard Home version
v0.107.61
Action
Since upgrading to v0.107.61, AdGuard Home experiences a sudden CPU spike up to ~180% usage and then crashes/restarts roughly once per day.
This issue was not observed on earlier versions.
Expected result
AdGuard Home should maintain stable CPU usage and operate continuously without crashing.
Actual result
Additional information and/or screenshots
Observed behavior:
Regular TLS handshake errors and DNS upstream timeouts flood logs, corresponding with CPU usage spikes that eventually lead to service crash or watchdog-triggered VM reboot.
Error samples:
[error] http: TLS handshake error from 127.0.0.1:xxxxx: remote error: tls: bad certificate server=https
ERROR response received addr=https://family.adguard-dns.com:443/dns-query proto=tcp status="request canceled (Client.Timeout exceeded while awaiting headers)"
While I don't see a specific issue
✅ TLS issues and DNS timeouts are stressing AdGuard Home.
✅ Large volume of error spam may explain why CPU usage explodes.
@tjharman commented on GitHub (May 7, 2025):
Hi,
I haven't seen any other similar issues to this posted, so I would have to assume at the moment this is something local to your setup. But please look at the steps above and report back.
@sky92682 commented on GitHub (May 19, 2025):
I've recently encountered a similar issue with intermittent high CPU and memory usage. After investigation, it turned out to be the AdGuard Home integration in Home Assistant. It periodically requests paths like /control/stats from the server to obtain information. Disabling this integration resolved the problem. You can try logging into the AdGuard Home management interface in your browser first, and then attempt to access this path to observe if AdGuard Home's CPU usage spikes.
@tjharman commented on GitHub (Jun 30, 2025):
@danielraffel Is this still a problem? Did you get anywhere with logs etc?