Open fkonradmain opened 4 months ago
templates/adguard.service.j2
LimitNOFILE={{ adguard_limit_nofile | default('8192') }} LimitMEMLOCK=infinity
On Debian and Ubuntu, you will get warnings, when using both of these parameters to limit (or in this case not limit) the memory consumption.
I have provided an example that does not produce warnings:
MemoryHigh={{ adguard_memory_high | default('') }} MemoryMax={{ adguard_memory_max | default('') }} CPUQuota={{ adguard_cpu_quota | default('90%') }}
A merge request is also on its way.
templates/adguard.service.j2
On Debian and Ubuntu, you will get warnings, when using both of these parameters to limit (or in this case not limit) the memory consumption.
I have provided an example that does not produce warnings:
A merge request is also on its way.