On 6/7/2006 8:51 PM, Arias Hung wrote:
On Mon, 05 Jun 2006, Daryl C. W. O'Shea delivered in simple text monotype:
Daryl
<---snip--->
Ah, and one more quick question while I'm at it. What would you suggest
would be the best way to increase the alarm timeout value?
Straight in the spamd script?
When grepping spamd for alarm:
# bug 4699: this is the alarm that often ends up with an empty $@
alarm $timeout_tcp if ($timeout_tcp);
alarm 0;
alarm $timeout_child if ($timeout_child);
alarm 0;
alarm $timeout_child if ($timeout_child);
alarm 0;
Or will setting the --child-timeout flag in spamd be enough?
You'd have to edit the current value (20) at line 953:
my $timer = Mail::SpamAssassin::Timeout->new({ secs => 20 });
You could try something higher, but it really shouldn't be necessary.
If the copy is going to succeed (and hasn't really hung up for some
reason) and is taking this long, chances are it's going to take the
better part of an hour to actually scan the mail.
I'd look for swap issues first.
Daryl