Skip to content
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

AGH crashes/hangs on Pi Zero 2W regularly - Any log or statistics setting beyond 24 hours #6972

Closed
4 tasks done
HVR88 opened this issue May 5, 2024 · 4 comments
Closed
4 tasks done

Comments

@HVR88
Copy link

HVR88 commented May 5, 2024

Prerequisites

Platform (OS and CPU architecture)

Linux, ARMv6

Installation

GitHub releases or script from README

Setup

On one machine

AdGuard Home version

v0.107.48

Action

AGH crashes at some seemingly random point in time, apparently due to excessive log information. Either Query Logs or Statistics, it's not obvious. This last hang, as described and pictured below, was with Logs set to 24hr and Stats set to 7 days.

Expected result

AGH to remain active and running perpetually

Actual result

AGH crashes and prevents entire network from resolving domains every couple of days.

The only resolution is to reboot AGH, easiest by cutting power to the RPi.

Additional information and/or screenshots

I ran AGH in Docker on a dual Xeon server (Unraid) for a few weeks and never experienced such an issue. But running on a homelab server isn't a sustainable practise as resetting or restarting such a server would then impact the entire network.

You can see the moment it stopped responding to traffic in the image just after 18:08

image

I'd love to capture some additional info, but there's nothing I can find in the UI to enable any kind of debug logging.

@EugeneOne1
Copy link
Member

EugeneOne1 commented May 6, 2024

Hello, @HVR88. I'm not sure how exactly have you installed AdGuard Home on Raspberry Pi. The script mentioned in the issue installs the native version of the app, and the configuration file should by default appear in the same directory as the binary. On Linux script by default puts it into /opt/AdGuardHome/, don't forget to stop the service before editing the AdGuardHome.yaml.

The docker images, which aren't recommended on low-spec machines like older versions of Raspberry Pi, are using mounted volumes for configuration and working directories.

To configure the verbose logging, use this guide. You may send it to devteam@adguard.com with the issue number in subject.

@EugeneOne1 EugeneOne1 added the waiting for data Waiting for users to provide more data. label May 6, 2024
@HVR88
Copy link
Author

HVR88 commented May 6, 2024

It's installed as per the RPi instructions on AGH download page - Pi running lite Raspian, originally by SSH to the Pi and then installing AGH.

I only mentioned that the UI contained no debug info, not that I had gone back with SSH and rooted around the filesystem looking for files or rerunning the service with different options.

I'll take another look at this when I'm able to move to new hardware, I just dont have the bandwidth at this time and I've removed the AGH deployment as it's just not stable enough to be on the network on a Pi Zero2 right now.

@HVR88
Copy link
Author

HVR88 commented May 19, 2024

Now running on Pi4b and so far so good after approximately 48 hours. Access to the webUI and DNS queries are definitely improved, with average access time around 24ms. So far no hangs nor other unexpected behavior.

@overwatch3560
Copy link

That's nice to hear is your issue resolved ? @HVR88

@overwatch3560 overwatch3560 removed the waiting for data Waiting for users to provide more data. label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants