I recently installed SA, but find that spamd sometimes hangs. Our mail
server receives about 3500 emails a day with the following setup:

1.2 GHz AMD with 512MB RAM
FreeBSD 4.5 Stable
Exim 3.36
SA 2.11

Exim uses a pipe/filter transport to pass mail to spamc -> spamd

spamd is launched with the following parameters:

spamd -D -L -c -F 0 -d


I only recently installed SA.  About 3 - 5 times a day a spamd child process
will hang.  It will consume MAX CPU CYCLES and only stop after a kill PID.
Most spam checking is done in less than 1 second.  I've tried waiting for up
to 3 hours for an exit, but the process is hung.

Next I placed log commands in spamd to see where it's going wrong and found
it to be the
my $status = $spamtest->check($mail); line

Spamd does return a value to exim near the beginning of the scan not the
kill.

2002-04-30 03:59:11 172MqJ-000D0z-00 <[EMAIL PROTECTED]>: spamcheck transport
output: An error was detected while processing a file of BSMTP input.
2002-04-30 03:59:11 172MqJ-000D0z-00 ** [EMAIL PROTECTED] D=spamcheck_director
T=spamcheck: Child process of spamcheck transport returned 2 from command:
/usr/local/sbin/exim


Anyone else had this problem or got any ideas.

Thanks,

Ron


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to