Hi,

On Tue, Mar 18, 2008 at 10:31 PM, Eric Shubert <[EMAIL PROTECTED]> wrote:
>  Given that bayes_auto_expire is off, there's apparently some sort of other
>  bottleneck. Are the messages which timeout particularly large? What's the
>  cpu utilization when the timeout occurs? How longs do messages typically
>  take to scan? How many processes are typically running at once? spamd log
>  would be a good thing to check.

Normal scanning times are 0.1 to 0.7 seconds.

When the timeout occured spamd was eating all CPU.

Here is a longer snippet from the logs:

##
2008-03-18 14:57:00.837787500 [32717] info: spamd: connection from
localhost.localdomain [127.0.0.1] at port 57453
2008-03-18 15:01:56.402529500 [32715] warn: spamd: timeout: (300
second timeout while trying to PROCESS) at /usr/bin/spamd line 2016,
<GEN676> line 4.
2008-03-18 15:01:56.464298500 [31907] info: prefork: child states: BBBBB
2008-03-18 15:01:56.464301500 [31907] info: prefork: server reached
--max-children setting, consider raising it
2008-03-18 15:01:56.465089500 [32715] info: spamd: connection from
localhost.localdomain [127.0.0.1] at port 57454
2008-03-18 15:01:56.478169500 [32715] info: spamd: processing message
<[EMAIL PROTECTED]> for clamav:107
2008-03-18 15:01:56.913503500 [32184] warn: spamd: timeout: (300
second timeout while trying to PROCESS) at /usr/bin/spamd line 2016,
<GEN688> line 4.
2008-03-18 15:01:56.970024500 [31907] info: prefork: child states: BBBBB
2008-03-18 15:01:56.970028500 [31907] info: prefork: server reached
--max-children setting, consider raising it
2008-03-18 15:01:56.970279500 [32184] info: spamd: connection from
localhost.localdomain [127.0.0.1] at port 57455
##

What about the "max-children", is that a cause or consequence? Should
I try to raise the limit (how do I do it)?

How do I find what message this was and the size of it?

Some statistics of timeouts found from the logs:

215 in March
--> clamav was upgraded to 0.92.1-1.3.17 and spamassassin to 3.2.4-1.3.13 here
78   in Feb
83   in Jan
2     in Dec
2     in Nov
0     in Oct
--> clamav was upgraded to 0.91.2-1.3.15 here
497 in Sep
--> spamassassin was upgraded to 3.2.2-1.3.11 here
0     in Aug
0     in Jul
0     in Jun

Regards,
Peter

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to