>After running clamd & clamav-milter (0.71 & 0.72) very successfully for
>a few weeks, I started getting bunches of these syslogs over the past
>few days:
>
>Jun  4 19:30:08 gate sm-mta[61060]: i552Q7IQ061060: Milter (clamav-milter): timeout 
>before data read
>Jun  4 19:30:08 gate clamav-milter[456]: No data received from clamd in 120 seconds 
>
>When it happens, clamd shows up on top as using from 5% to 30% of the CPU.
>At first there were just a few of them, but last night they were pretty
>much continuous and I had to turn clamav off.

I managed to solve this problem.  The answer is, not enough threads
specified for clamd, and also not enough children specified for
clamav-milter.  I had to increase both of them to the same number
to fix it.  That number, 200, is also the same as the MAX_DAEMON_CHILDREN
limit I set in sendmail.mc, so really there are three different places
that must agree on this limit or else things break.

This seems like a FAQ candidate - first that MaxThreads and --max-children
should be close or identical, and second the relationship of both of them to
the number of sendmail processes you expect.
---
Jef

         Jef Poskanzer  [EMAIL PROTECTED]  http://www.acme.com/jef/


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Clamav-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-devel

Reply via email to