I have noticed a serious problem with the latest stable branch of 
clamav, at least on FreeBSD.  There seems to be a large scale memory 
leak.  Starting with 0.92, I have been running a 10 machine clamd 
cluster, 9 of which running FreeBSD 6.2 RELEASE and one running 7.0 
RELEASE.  With the exception of a couple of hiccups in the past, they 
have been running pretty flawlessly, serving about 30 mail machines 
running clamav-milter.

With the advent of the vulnerabilities in pre 0.95 releases, I upgraded 
to 0.95 a week ago.  With the latest round of vulns., I upgraded to 
0.95.1 yesterday.  With both revisions, I'm seeing a constant escalation 
of memory usage to the point of killing the clamd process because it 
runs into the MAXDSIZ we have set of 1.5GBs of memory.  Restarting the 
process just restarts the "fail counter" once again.

In contrast, I never had any problems with 0.94.2, or the entire 0.94 
branch for that matter.  The memory usage for those versions would sit 
consistently between 100MB and 300MB of resident memory usage depending 
on load.  I haven't seen anything from anyone else on the mailing list 
about this, so I'm not sure if this is something related specific to 
FreeBSD or, if it's the massive load we put on this cluster (these 10 
machines together process approximately 65 million emails per day) that 
allows us to see this clearly, but it is quite clear to us.

If there is any more info I can supply, I will do my best to do so.

Jay Deiman

-- 
Jay Deiman

\033:wq!
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to