Re: Best way to introduce feature to reduce memory footprint?
Per Jessen <[email protected]> Sun, 08 Sep 2019 19:28:24 +0200
| Newsgroups | gmane.comp.security.virus.clamav.devel |
|---|---|
| Organization | News-server @ ENIDAN Technologies GmbH |
| Message-ID | <[email protected]> |
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. _______________________________________________ clamav-devel mailing list [email protected] https://lists.clamav.net/mailman/listinfo/clamav-devel Please submit your patches to our Bugzilla: http://bugzilla.clamav.net Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml