AdguardTeam / AdGuardHome

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

High Memory Usage in AdGuardHome - Possible Memory Leak #7363

Open yixiuge301 opened 1 month ago

yixiuge301 commented 1 month ago

Prerequisites

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.53

Action

I have noticed that the memory usage of my AdGuardHome instance is particularly high, and I suspect there may be a memory leak. image image

[root@localhost ~]# md5sum /usr/local/adh/AdGuardHome
e7509e02941f37f4b8f704e47c5e105b  /usr/local/adh/AdGuardHome
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# /usr/local/adh/AdGuardHome --version
AdGuard Home, version v0.107.53
[root@localhost ~]#

Expected result

What steps should I take to investigate the memory usage and identify any potential leaks?

Actual result

What steps should I take to investigate the memory usage and identify any potential leaks?

Additional information and/or screenshots

No response

k-fire commented 1 month ago

This also happened to me when using openwrt, I have rolled back to v0.107.52

Robin-Sch commented 3 weeks ago

Downgrading still resulted in high memory usage for me (it saved "only" 0.1G of the 1.7 it is using)

jjlink commented 1 week ago

I'm seeing a lot of AdguardHome out of memory messages on my Home Assistant Operating System console.