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

内存膨胀 #6505

Closed
4 tasks done
Muyv-shanren opened this issue Dec 7, 2023 · 1 comment
Closed
4 tasks done

内存膨胀 #6505

Muyv-shanren opened this issue Dec 7, 2023 · 1 comment
Labels
duplicate Duplicate or merged issues.

Comments

@Muyv-shanren
Copy link

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

108.50

Action

image
adguardhome 108.50 开启乐观缓存,内存会急剧膨胀,这是几天来观察的结果。系统为x64的Debian12系统,内核为xanmod rt 内核。一天的解析量大概在20万左右,大概半天,内存会升到500mb左右,有两次内存占用会飙升到680mb。之后发现关闭乐观缓存并清空缓存,内存会慢慢降低,大概在255左右,若进行重启服务,一般不到200mb,这还是开了多个广告过滤器的结果。发现这个问题后个人找不到解决的方法,故反馈bug,希望得到解决。另外,希望开发者、攻城狮可以限制缓存条目数量或者提供用户限制条目的配置项。缓存域名的ttl,也是一个问题,所有的域名缓存都是10s,这使得查询更加的频繁,非常浪费资源,也希望可以修改这一项。

Expected result

image
adguardhome 108.50 开启乐观缓存,内存会急剧膨胀,这是几天来观察的结果。系统为x64的Debian12系统,内核为xanmod rt 内核。一天的解析量大概在20万左右,大概半天,内存会升到500mb左右,有两次内存占用会飙升到680mb。之后发现关闭乐观缓存并清空缓存,内存会慢慢降低,大概在255左右,若进行重启服务,一般不到200mb,这还是开了多个广告过滤器的结果。发现这个问题后个人找不到解决的方法,故反馈bug,希望得到解决。另外,希望开发者、攻城狮可以限制缓存条目数量或者提供用户限制条目的配置项。缓存域名的ttl,也是一个问题,所有的域名缓存都是10s,这使得查询更加的频繁,非常浪费资源,也希望可以修改这一项。

Actual result

image
adguardhome 108.50 开启乐观缓存,内存会急剧膨胀,这是几天来观察的结果。系统为x64的Debian12系统,内核为xanmod rt 内核。一天的解析量大概在20万左右,大概半天,内存会升到500mb左右,有两次内存占用会飙升到680mb。之后发现关闭乐观缓存并清空缓存,内存会慢慢降低,大概在255左右,若进行重启服务,一般不到200mb,这还是开了多个广告过滤器的结果。发现这个问题后个人找不到解决的方法,故反馈bug,希望得到解决。另外,希望开发者、攻城狮可以限制缓存条目数量或者提供用户限制条目的配置项。缓存域名的ttl,也是一个问题,所有的域名缓存都是10s,这使得查询更加的频繁,非常浪费资源,也希望可以修改这一项。

Additional information and/or screenshots

image

@ainar-g
Copy link
Contributor

ainar-g commented Dec 7, 2023

We recommend writing the issue title (not necessarily the body) in English to enable automatic search for duplicates.

Duplicate of #6438

@ainar-g ainar-g closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2023
@ainar-g ainar-g added the duplicate Duplicate or merged issues. label Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Duplicate or merged issues.
Projects
None yet
Development

No branches or pull requests

2 participants