[clamav-users] Limit memory usage of Clamd

Kosala Lakshitha De Silva klds0906 at gmail.com
Mon Jun 21 02:30:41 UTC 2021


Hellow,
I have installed ClamAV on a container (runs on alpine). Also I have a web
service running in the same container which is used to expose scanning to
outside. I am using clam demon to do the scanning. (via TCP socket)

When I run this setup it takes memory usage upto 1.5GB. if I only ran the
webservice (i.e. not initializing clam demon) it only takes about 350MB of
RAM.

So my question is without disabling clam demon, is there a way to reduce
the memory footprint?

Any help regarding this would be highly appreciated.

Thank you,
Best regards,
Kosala
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20210621/eccea1cc/attachment.htm>


More information about the clamav-users mailing list