A few weeks ago, I posted the following question:
Hello
I have a severe problem with one of my mailservers. I'm using spamassassin
3.2.3 in combination with exim 4.66, and experience hanging spamd processes
which consume all my server resources.
I've searched these mailing lists, searched google, searched documentation,
... I found very much old posts of people experiencing the same problems, so
I think it's a very common one. I tried different solutions: tracing the
process (process doesn't do anything when it hangs - no trace output),
clearing the bayes database (doesn't help), ...
The problem is really urgent, because exim receives timeouts from spamd, and
rejects the mails.
I reduced the number of mails each spamd processes, to reduce the risk of
hanging. Usually it hangs after having processed 2 or 3 mails.
Now I've even reduced it to 1, the hangups are less often, but still there!
I hope someone has a solution, or a clue to what I can do!
I checked the log files and debug output, which is very consistent. The last
thing all hanging processes do, is this:
Oct 19 09:42:09 mail01 spamd[6072]: rules: ran uri rule __DOS_HAS_ANY_URI
======> got hit: "k"
After this line in the log, the process hangs.
For your reference: the full log file is here:
http://peter.lunatis.be/temp/spamd.txt
After trying some things that were suggested, the problem went away for a
time. Now it's back though, and I can't work around it. I really hope
someone can give me a direction to search, because this thing is really
driving me crazy!
I noticed the startup is a little bit weird too:
http://peter.lunatis.be/temp/spamd-startup.txt<http://peter.lunatis.be/temp/spamd.txt>
What am I doing wrong?????
Regards,
Peter