[Clamav-devel] Best way to introduce feature to reduce memory footprint?
Per Jessen
per at computer.org
Sun Sep 8 13:28:24 EDT 2019
Markus Kolb wrote:
> Hey,
>
> I'd like to get some thoughts of reducing the memory footprint of
> clamav (clamd)...
This was discussed quite intensively on the openSUSE list just recently:
Create /etc/systemd/system/clamd.service.d/memlimit.conf and add:
MemoryLimit=500M (for instance)
TimeoutSec=300s
This reduces the working set according to your spec, I have had it
running in 300M. Occasionally a scan will take longer, even up to a
minute, but 90% (in my context) are still processed in less than 1 sec.
--
Per Jessen, Zürich (11.1°C)
http://www.dns24.ch/ - free dynamic DNS, made in Switzerland.
More information about the clamav-devel
mailing list