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

Matus UHLAR - fantomas uhlar at fantomas.sk
Mon May 13 14:21:15 UTC 2019


>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.

On 13.05.19 19:46, Avinash Sonawane via clamav-users wrote:
>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.

loading takes time, much time.  And, they still would take about the same
memory.

>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.

there are many signatures, they must be parsed and understood by clamav. 
The only place they can be stored at scanning time is the memory.

-- 
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.
"Where do you want to go to die?" [Microsoft]



More information about the clamav-users mailing list