[clamav-users] clamd using ~1GB memory on Debian Stretch

Alan Stern stern at rowland.harvard.edu
Mon May 13 14:34:17 UTC 2019


On Mon, 13 May 2019, Avinash Sonawane via clamav-users wrote:

> On Mon, 13 May 2019 19:30:12 +0530
> Avinash Sonawane <rootkea at gmail.com> wrote:
>  
> > Single email account here. On average, I receive one email a day.
> > Devoting 1Gb memory all the time for that seems a poor bargain.
> 
> Why can't clamd let databases/signatures stay in secondary memory
> itself. Just load them when you actually receive message (or performing
> the scan explicitly asked by user). Process and then again unload.
> Waiting for next message.
> 
> Why clamd needs to have signatures/databases loaded in primary memory
> all the time? Even when there is no active scan or incoming email? This
> doesn't make sense.

What you're asking for is clamscan (as opposed to clamd and clamdscan).  
It loads the signatures when it runs, and after scanning all the memory
is released.

Alan Stern




More information about the clamav-users mailing list