[clamav-users] Limit memory usage of Clamd

Kosala Lakshitha De Silva klds0906 at gmail.com
Tue Jun 22 02:11:18 UTC 2021


Thank you for your very detailed reply. It did clear up things for me.

On Mon, Jun 21, 2021 at 6:03 PM Matus UHLAR - fantomas <uhlar at fantomas.sk>
wrote:

> 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.
>
> _______________________________________________
>
> clamav-users mailing list
> clamav-users at lists.clamav.net
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20210622/6926e661/attachment.htm>


More information about the clamav-users mailing list