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?
Are you talking about size or resident size? Either way that's not excessive for
my systems. Here's a fairly quiet (smtp) system on Solaris 9 with only 512M
physical memory:
PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
7371 clamav 2 2 19 163M 148M sleep 275:20 0.00% clamd
On my very busiest systems it used to spike up over 300M. I had a watch point
set at 350M at which time clamd would be restarted. That was several years ago
and that problem has not come up again.
dp
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml