I set up ClamAV and clamav-milter for the first time a few months ago.
I used 0.90rc2 at the time.  I have been meaning to update it for a
while but didn't get around to it until yesterday.  I tried 0.90.1, but
it ate up the CPU and logged errors.  For comparison, I also checked
0.90 and 0.90rc3 and got the same results.  I tried building with both
gcc (3.3.2 from SFW) and Sun's cc (I had been running rc2 built with
gcc; for comparison I built it with Sun's cc and that has also been
working find overnight).

My setup has a server dedicated to running spam filtering milters; the
sendmail daemons are running on other servers.

Under normal conditions with rc2, I see clamav-milter running at about
1% CPU with around 800 threads (accoring to top), and clamd running at
around 30-50% CPU with around 15 threads.  It takes a little time after
a restart to reach those levels (as new SMTP connections come in on the
servers).

With all newer versions, clamd runs up to 80%+ CPU and an
ever-increasing number of threads (until it hits the limit) soon after
starting clamav-milter.  It also doesn't actually appear to successfully
process anything.  After a minute, I start getting errors in the log
like:

Mar 15 14:21:19 mailwall clamd[4266]: [ID 702911 local5.info] 
/tmp/clamav-8f6bff1f5bbae163780ecae88004cefb/msg.Giaiwi: Unable to open file or 
directory ERROR
Mar 15 14:21:19 mailwall clamav-milter[4273]: [ID 702911 local5.error] 
l2FJKghW576310: /tmp/clamav-8f6bff1f5bbae163780ecae88004cefb/msg.Giaiwi: Unable 
to open file or directory ERROR

I do not have --enable-experimental on my configure; I did try it
yesterday just to see if it made any difference (it didn't appear to).

Any suggestions?
-- 
Chris Adams <[EMAIL PROTECTED]>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to