Skip to content

Consistently uses a large amount of RAM(13.9GiB/16GiB) #6202

Description

@Winnie0408

Prerequisites

Platform (OS and CPU architecture)

Linux, AMD64 (aka x86_64)

Installation

Docker

Setup

On a router, DHCP is handled by the router

AdGuard Home version

v0.107.37

Action

This issue was translated from Chinese to English using DeepL translation software, which may make errors in translation.

I deployed AdGuard Home on my home server(Running Ubuntu Server 22.04.3) and enabled extranet access so that other devices on the Internet could use the DoH and DOT services it provides.
Recently I have noticed that AdGuard Home takes up a lot of memory (as shown in the picture below) if it runs for a long period of time (e.g., 3 days), and I'm not sure if this is normal or if it's a "memory leak" or something like that?

Although my machine has plenty of RAM and Linux has excellent memory management mechanisms, I would like to report this problem and hope that it can be fixed!

Also, I have noticed that, when it comes to the situation metioned above, if I try to change the configuration of AdGuard Home, as soon as I click on "Save", "Apply", etc., AdGuard Home goes into an unresponsive state, and unable to process any DNS requests until it either resumes responding automatically (which can take at least 20 minutes), or I manually restart its Docker container.

I configured the DNS cache size to be 128MiB (134217728 bytes), with a minimum TTL of 300 seconds and a maximum TTL of 1500 seconds, and did not enable "optimistic caching".

Expected result

AdGuard Home doesn't take up much memory (at least not 13GiB)

Actual result

AdGuard Home takes up 13.9GiB of RAM

Additional information and/or screenshots

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions