Tom Shaw wrote:
At 12:39 AM +0000 12/2/09, Gordan Bobic wrote:
Hi,
Can anyone explain why clamd 0.95.3 might use 190MB of RAM after 5
days of light usage (few hundred emails)? It is the single biggest
process on my mail servers, and I'm not convinced it's size is
reasonably justifiable. The database files under /var/lib/clamav use
about 70MB. So, even assuming this is kept in memory at all times,
where does the other 120MB come from?
I have looked through various mailing list and forum archives, but
have not found a reasonable answer to this question, despite it being
raised a few times.
Have your turned on safebrowsing in your config file?
No, SafeBrowsing line is commented out. I just tried setting it
explicitly to "no", and it made no significant difference to memory
usage (183MB at startup). Having said that, I just tried changing it to
"yes", and that only increased the resident size to 184MB.
Gordan
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml