[exim] spamd connection timing out

Top Page
Delete this message
Reply to this message
Author: Sujit Acharyya-Choudhury
Date:  
To: exim-users
Subject: [exim] spamd connection timing out
We are running exim with spamassassin on our gateways and on exim
paniclog I am seeing this message:



spam acl condition: error reading from spamd socket: Connection timed
out on a regular basis (may be once every 10 - 15 mins).



We have the following setting for spamd:



/usr/bin/spamd -d -x -m 30 --max-conn-per-child=150 --timeout-tcp=30
--timeout-child=200 --socketpath=/var/run/spamd_socket -u exim -r
/var/run/spamd.pid



On /var/log/mail, I get the following:

spamd[11077]: prefork: child states: BBBB

spamd[11077]: prefork: child states: BBBBI

spamd[11077]: prefork: child states: BBBII



Still a long way off 30 children



For exim we have:



local_scan_timeout = 10m

receive_timeout = 0s

rfc1413_query_timeout = 0s

smtp_receive_timeout = 12m



I have seen that other people had this problem as well.



Any idea of what to do?





Regards





Sujit





--
The University of Westminster is a charity and a company limited by
guarantee. Registration number: 977818 England. Registered Office:
309 Regent Street, London W1B 2UW, UK.