Hello,
Today SpamAssassin started failing on my server system. I could observe
the following:
* There are 5 processes named "spamd child" with very high (100%) CPU usage
* The Exim mail server temporarily rejects the recipients because it
cannot connect to the spamd server
This is the Exim log message that appears very often, like once per message:
> spam acl condition: error reading from spamd socket: Connection reset
by peer
Restarting SpamAssassin helps for a while but the problem comes back
repeatedly.
These are my options from /etc/default/spamassassin:
OPTIONS="--nouser-config --min-children 5 --max-children 20
--max-conn-per-child 20 --allow-tell"
Here are a few options from my /etc/spamassassin/custom.cf file:
lock_method flock
use_bayes 0
(and then some scores and patterns)
spamd --version
SpamAssassin Server version 3.4.2
running on Perl 5.22.1
with SSL support (IO::Socket::SSL 2.024)
with zlib support (Compress::Zlib 2.068)
The system runs Ubuntu 16.04 x64.
I have never seen this behaviour before. As it is now, the spam filter
is making my mail service very unreliable for incoming mail. What can I
do to fix that?
Yves Goergen
http://unclassified.software