[clamav-users] Limit memory usage of Clamd

Matus UHLAR - fantomas uhlar at fantomas.sk
Mon Jun 21 12:31:18 UTC 2021


On 21.06.21 08:00, Kosala Lakshitha De Silva via clamav-users wrote:
>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.

I don't know how you measure it, but running clamscan took about the same
amount of memory as clamd now when I tried.


-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Have you got anything without Spam in it?
- Well, there's Spam egg sausage and Spam, that's not got much Spam in it.


More information about the clamav-users mailing list