Hi there,
On Wed, 9 Sep 2020, Arjen de Korte via clamav-users wrote:
Citeren Arjen de Korte via clamav-users <[email protected]>:
DefaultMemoryAccounting is enabled in openSUSE Tumbleweed. One observation
I still have, is that the memory usage of freshclam.service seems to
steadily increase after each update. Since this morning, it has increased
from 1.5 MB immediately after startup to 6.0 MB about 4 checks later. I'll
keep monitoring this to see if it levels off or keeps increasing.
After downloading daily.cld, memory usage went up to 340.1 MB. It seems
either systemd incorrectly reports the memory used, or memory is not free'd
after use somewhere.
Normally I monitor memory usage on all my servers with Nagios, but
that only gives me the overall picture and on a busy server a small
memory leak could hide in the noise. After reading your post I set up
a cron job on my clamd server to wake up every ten minutes and log the
memory used by freshclam to a file. This is on Raspbian, but I don't
let systemd get involved in anything that I care about. The daemons
are started from /etc/rc.local.
I've seen no evidence of a memory leak at all. The 0.103.0-rc2 daemon
has been running for eight days continuously. It's currently using
(top, RSS) about 8.6 MBytes of RAM - and 6.9 MBytes of that is shared.
--
73,
Ged.
_______________________________________________
clamav-users mailing list
[email protected]
https://lists.clamav.net/mailman/listinfo/clamav-users
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/contact.html#ml