AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
25.5k stars 1.83k forks source link

v0.107.31 stops responding to DNS requests, does not terminate #5896

Closed timkgh closed 1 year ago

timkgh commented 1 year ago

Prerequisites

Operating system type

Other (please mention in the description)

CPU architecture

64-bit MIPS

Installation

Other (please mention in the description)

Setup

On a router, DHCP is handled by the router

AdGuard Home version

v0.107.31

Description

v0.107.31 running on EdgeRouter 12, mips64_softfloat

Sometimes it just hangs, it doesn't respond to DNS requests anymore, 1 CPU is at 100% and it also does not gracefully restart via systemctl restart, it needs to be force killed.

I know this is not a lot to go on, these random hangs are hard to troubleshoot. It was stable for a while, I believe this started with the updates to .30 and .31

Jun 11 21:46:01 router AdGuardHome[15089]: 2023/06/11 21:46:01.705395 [info] Received signal "terminated"
Jun 11 21:46:01 router AdGuardHome[15089]: 2023/06/11 21:46:01.705503 [info] stopping AdGuard Home
Jun 11 21:46:01 router AdGuardHome[15089]: 2023/06/11 21:46:01.705544 [info] stopping http server...
Jun 11 21:46:01 router AdGuardHome[15089]: 2023/06/11 21:46:01.705984 [info] stopped http server
Jun 11 21:47:31 router systemd[1]: AdGuardHome.service: State 'stop-sigterm' timed out. Killing.
Jun 11 21:47:31 router systemd[1]: AdGuardHome.service: Killing process 15089 (AdGuardHome) with signal SIGKILL.
Jun 11 21:47:31 router systemd[1]: AdGuardHome.service: Main process exited, code=killed, status=9/KILL
Jun 11 21:47:31 router systemd[1]: AdGuardHome.service: Unit entered failed state.
Jun 11 21:47:31 router systemd[1]: AdGuardHome.service: Failed with result 'timeout'.
ainar-g commented 1 year ago

For those who follow the Beta channel, v0.108.0-b.40 contains the same fixes.

Freebase394 commented 1 year ago

Nice Work @ainar-g

monsm commented 1 year ago

Version v0.108.0-a.605+c02a1411 on the Edge channel contains the new fix. @bigwookie, could you please try that one out as well?

I am now running Version: v0.108.0-a.605+c02a1411

@bigwookie How does the new version work

bigwookie commented 1 year ago

Version v0.108.0-a.605+c02a1411 on the Edge channel contains the new fix. @bigwookie, could you please try that one out as well?

I am now running Version: v0.108.0-a.605+c02a1411

@bigwookie How does the new version work

So far it is running smoothly with no crashes or errors as before. @ainar-g thank you for this, it's looking good.

ainar-g commented 1 year ago

The fixes have now been released to v0.107.34. Once again, thanks to @bigwookie, @TheCableGuy99, and everyone else who tried Edge and Beta builds!

Baxxy13 commented 1 year ago

Because of the constantly increasing memory-usage with the last versions i rebooted the Pi3b+ almost once a week. Let's see if this is now history... AdGuard-Home_phys_Memory_usage

s1lviu commented 1 year ago
image

I had the issue too, hope is fixed.

TheCableGuy99 commented 1 year ago

That looks to be HomeAssistant?

OlliZabal commented 1 year ago

I'm having some error messages frequently in the docker image log using v0.107.34: 2023/07/17 18:51:59.297889 [error] dnsproxy: unpacking udp packet: dns: buffer size too small

TheCableGuy99 commented 1 year ago

I'm having some error messages frequently in the docker image log using v0.107.34:

2023/07/17 18:51:59.297889 [error] dnsproxy: unpacking udp packet: dns: buffer size too small

Unrelated! Open your own thread!

bartounet16 commented 1 year ago

hello the problem is it resolved. 1 week without problem with version: v0.108.0-a.616+2adc8624

timkgh commented 1 year ago

v0.107.34 looks good 👍

bigwookie commented 1 year ago

Yes v0.107.34 looks good from my end, it has been running efficiently and without error since the release.

bartounet16 commented 1 year ago

WE Can use no edge version now ?

bartounet16 commented 1 year ago

The fixes have now been released to v0.107.34. Once again, thanks to @bigwookie, @TheCableGuy99, and everyone else who tried Edge and Beta builds!

Could toi explain basically what was the problem ?