Autore: Richard Hopkins Data: To: John Horne, exim-users CC: Oggetto: Re: [exim] Spamd problem - connection timed out
--On 20 June 2005 12:13 +0100 John Horne <john.horne@???> wrote:
> On Mon, 2005-06-20 at 12:00 +0100, Steven Wayne wrote:
>> On Mon, Jun 20, 2005 at 11:24:16AM +0100, John Horne wrote:
>> >
>> > Hello,
>> >
>> > We are running exim 4.51 and spamassassin 3.0.4, and in our panic log
>> > we are seeing many of these messages:
>> >
>> > 2005-06-20 10:18:57 1DkIOn-0004mM-Rt spam acl condition: error
>> > reading from spamd socket: Connection timed out
>> > 2005-06-20 10:26:48 1DkIWO-0005Hl-QJ spam acl condition: error
>> > reading from spamd socket: Connection timed out
>> > 2005-06-20 10:34:46 1DkIe5-0005lc-B3 spam acl condition: error
>> > reading from spamd socket: Connection timed out
>> > 2005-06-20 10:42:35 1DkIlc-0006Ht-6D spam acl condition: error
>> > reading from spamd socket: Connection timed out
>> >
>> > As can be seen they occur every few minutes - in fact about every 8
>> > minutes during the day! At nighttime they only occur every so often.
>> > I'll see if I can investigate further but I wondered if anyone had any
>> > obvious answers?
>> >
>> >
>>
>> Is spamd listening on the socket the acl is connecting to?
>>
> Yes.
>
>> Is a firewall blocking connections to the socket?
>>
> No. Spamassassin runs on the mta server itself.
>
> Spamassassin and exim content scanning is working, since emails are
> being spam checked. It's just that we are now getting these panic log
> entries, whereas we didn't before.
>
> I see that exim sets a spamd timeout of 240 seconds, I'll see if I can
> extend that and see what happens. Secondly, would the use of a unix
> socket perform better than the defaults of '127.0.0.1:783'?
>
What do you have spamd's "-m" (--max-children=num) set to John? On a busy
mail hub you'll probably need to increase it from its default (5). We
certainly did.
Regards,
Richard Hopkins,
Information Services,
Computer Centre,
University of Bristol,
Bristol, BS8 1UD, UK