You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Per Eric Rosén <pe...@rosnix.nu> on 2005/02/14 13:43:44 UTC

spamd 3.02 catched in a loop?

Hi.

SA 3.02 sometimes seems to stop parsing a message, stop producing debug
output and using 100% CPU until killed. I'm running spamd with 5 child
processes, called from exim 3 with spamc as a filter (although this
sholdn't matter I suppose) and when all availible spamd children are stuck
mail isn't flowing as nicely as it used to (lots of spam unchecked).

I have tried both SA 3.02 from backports.org and now also the plain 3.02
from SA homepage directly. I'm currently running only with stock rules,
for debugging purposes. Running Debian woody i386 + backports SA. perl 5.6.1.

I have also tried both locking methods, with no different result.

The particular message logged below, just for example, was a real Debian
Security Advisory - ie, ham. spamd always seem to stop at that line.

Sometimes also, SA says that
"Cannot open bayes databases /var/local/lib/spamassassin/bayes_* R/W: lock
failed: Filen existerar". Some other spamd child hung during lock?

-- the last lines --
Feb 14 13:11:14 dront spamd[23356]: debug: tokenize: header tokens for *r = "
[10.1.1 ip*10.1.1.11 ] (vestfold-static56.bluecom.no [62.101.205
ip*62.101.205.56 ]) (using TLSv1   cipher DHE-RSA-AES256-SHA (256/256
bits)) (No client certificate requested) by mail.smidsrod.no (Postfix)
<sq...@lists.sourceforge.net>;     mail.smidsrod.no ([127.0.0
ip*127.0.0.1 ]) by localhost (sc [127.0.0 ip*127.0.0.1 ]) (amavisd-new,
port 10024)     id 26376-04   <sq...@lists.sourceforge.net>; "

-- some strange but maybe benign lines --
Feb 14 12:52:43 dront spamd[23356]: debug: config: not parsing,
administrator setting: bayes_path /var/local/lib/spamassassin/bayes
Feb 14 12:52:43 dront spamd[23356]: debug: config: SpamAssassin failed to parse
line, skipping: bayes_path /var/local/lib/spamassassin/bayes

-- from glocal config --
required_hits 8
bayes_path /var/local/lib/spamassassin/bayes
bayes_file_mode 0777
auto_whitelist_path /var/local/lib/spamassassin/auto-whitelist
auto_whitelist_file_mode 0777

/Per Eric
--
^): Per Eric Rosén http://rosnix.nu/~per/
/   per@rosnix.nu  GPG 7A7A BD68 ADC0 01E1 F560 79FD 33D1 1EC3 1EBB 7311