You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Richard Mayhew <rm...@mweb.com> on 2004/04/22 15:30:48 UTC
Timeouts
Hi
Could anyone help me with this particular issue which has been around
for sometime.
I have noticed some people have in the past reported this type of error,
but nothing was concluded.
We run Exim 4.32 With ExiScan 4.32-17.
We only scan mail smaller than 64kb.
Exim Panic Log.
2004-04-22 15:20:35 1BGdBx-0000WH-A6 spam acl condition: error reading
from spamd socket: Connection timed out
2004-04-22 15:20:39 1BGdC1-0000Wm-TW spam acl condition: error reading
from spamd socket: Connection timed out
2004-04-22 15:20:40 1BGdBy-0000WE-Tv spam acl condition: error reading
from spamd socket: Connection timed out
2004-04-22 15:20:45 1BGdC9-0000YN-72 spam acl condition: error reading
from spamd socket: Connection timed out
2004-04-22 15:20:46 1BGdBY-0000T8-OD spam acl condition: error reading
from spamd socket: Connection timed out
2004-04-22 15:23:25 1BGdEi-0000tW-Ua spam acl condition: error reading
from spamd socket: Connection timed out
2004-04-22 15:23:28 1BGdEm-0000tp-1V spam acl condition: error reading
from spamd socket: Connection timed out
2004-04-22 15:25:43 1BGdGx-0001CA-9t spam acl condition: error reading
from spamd socket: Connection timed out
2004-04-22 15:25:44 1BGdGv-0001Bl-3c spam acl condition: error reading
from spamd socket: Connection timed out
2004-04-22 15:25:44 1BGdGs-00018U-RS spam acl condition: error reading
from spamd socket: Connection timed out
Thanks
--
Regards
Richard Mayhew
Unix Specialist
MWEB Business
Tel: + 27 11 340 7200
Fax: + 27 11 340 7288
Website: www.mwebbusiness.co.za
Re: Timeouts
Posted by Matthew Trent <mt...@localaccess.com>.
On Thursday 22 April 2004 06:30 am, Richard Mayhew wrote:
> Hi
>
> Could anyone help me with this particular issue which has been around
> for sometime.
> I have noticed some people have in the past reported this type of error,
> but nothing was concluded.
>
> We run Exim 4.32 With ExiScan 4.32-17.
> We only scan mail smaller than 64kb.
>
> Exim Panic Log.
> 2004-04-22 15:20:35 1BGdBx-0000WH-A6 spam acl condition: error reading
> from spamd socket: Connection timed out
I've battled the same problem. Spamassassin seems to take over 20 seconds on
some spams, with no apparent reason or pattern. I've got network tests off
(-L), and bayes on. The same thing happens with network tests on (but all
DNSBL's off, I do that with Exim), except the timeouts happen more often. I'm
running two servers load balanced with 2.4ghz P4's and 1gb of ram. The mail
load is high, but not THAT high.
The only way I've found to deal with it is increase Exiscan's timeout in the
source code. It's in the spam.h file in your exim src directory. I have it
set to 30 seconds. I can't remember what the default was, but it was much
lower. The problem is, now, that if something funky happens with SA, Exim
will wait 30 whole seconds for each connection and rapidly hit the process
limit...
By the way, here's a bit of sed I've been using to watch how long SA is taking
with messages:
tail -f /var/log/uucp.log | sed -n 's/^\(.*\) mail2 spamd.*in \(.*\)
seconds.*/\1 - \2/p'
... replace 'mail2' with your hostname and /var/log/uucp.log with your logfile
(I used the 'uucp' facility in syslog since it was unused...).
--
Matt
Systems Administrator
Local Access Communications
360.330.5535
Re: Timeouts
Posted by Martin Hepworth <ma...@solid-state-logic.com>.
Richard
I've been seeing quite a few timeouts connected with RBL's - ie I reduce
the number of RBL's and the timeout's reduce in number. Running
MailScanner 4.29-7 and SA-2.63.
Currently only running the URI scans via Surbs and the spamhause XBL
that I added in myself, all SA supplied are off, and still 3-4 timeouts
aday on a lightly loaded gateway...
--
Martin Hepworth
Snr Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300
Richard Mayhew wrote:
> Hi
>
> Could anyone help me with this particular issue which has been around
> for sometime.
> I have noticed some people have in the past reported this type of error,
> but nothing was concluded.
>
> We run Exim 4.32 With ExiScan 4.32-17.
> We only scan mail smaller than 64kb.
>
> Exim Panic Log.
> 2004-04-22 15:20:35 1BGdBx-0000WH-A6 spam acl condition: error reading
> from spamd socket: Connection timed out
> 2004-04-22 15:20:39 1BGdC1-0000Wm-TW spam acl condition: error reading
> from spamd socket: Connection timed out
> 2004-04-22 15:20:40 1BGdBy-0000WE-Tv spam acl condition: error reading
> from spamd socket: Connection timed out
> 2004-04-22 15:20:45 1BGdC9-0000YN-72 spam acl condition: error reading
> from spamd socket: Connection timed out
> 2004-04-22 15:20:46 1BGdBY-0000T8-OD spam acl condition: error reading
> from spamd socket: Connection timed out
> 2004-04-22 15:23:25 1BGdEi-0000tW-Ua spam acl condition: error reading
> from spamd socket: Connection timed out
> 2004-04-22 15:23:28 1BGdEm-0000tp-1V spam acl condition: error reading
> from spamd socket: Connection timed out
> 2004-04-22 15:25:43 1BGdGx-0001CA-9t spam acl condition: error reading
> from spamd socket: Connection timed out
> 2004-04-22 15:25:44 1BGdGv-0001Bl-3c spam acl condition: error reading
> from spamd socket: Connection timed out
> 2004-04-22 15:25:44 1BGdGs-00018U-RS spam acl condition: error reading
> from spamd socket: Connection timed out
>
>
> Thanks
> --
>
> Regards
>
> Richard Mayhew
> Unix Specialist
>
> MWEB Business
> Tel: + 27 11 340 7200
> Fax: + 27 11 340 7288
> Website: www.mwebbusiness.co.za
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.
**********************************************************************