View previous topic :: View next topic |
Author |
Message |
Talrias n00b
Joined: 23 May 2004 Posts: 32
|
Posted: Thu Feb 16, 2006 2:55 pm Post subject: spamassassin stopping every so often |
|
|
Hi all,
spamassassin keeps stopping every so often. I have to restart it by /etc/init.d/spamd zap, then /etc/init.d/spamd start. I have spamassassin, clamav, qmail and vpopmail installed (all the latest versions in portage), installed using the guide on the docs section of gentoo's website.
I can't find any log files which would give me information on why spamassassin has stopped running - my only indicator is that in /var/spool/qmailscan/qmail-queue.log it says (for example) "Thu, 16 Feb 2006 14:49:53 GMT:16957: SA: finished scan in 3.520222 secs - hits=?/?"
What should I do to discover more information why spamassassin is doing this, and what should I do to fix this problem?
Thanks for your help,
Chris _________________ "if triangles had a god, He'd have three sides." |
|
Back to top |
|
|
Talrias n00b
Joined: 23 May 2004 Posts: 32
|
Posted: Tue Feb 21, 2006 7:09 pm Post subject: |
|
|
Any thoughts?
Chris _________________ "if triangles had a god, He'd have three sides." |
|
Back to top |
|
|
digitalenemy n00b
Joined: 08 Nov 2004 Posts: 63 Location: germany
|
Posted: Tue Feb 21, 2006 7:44 pm Post subject: |
|
|
you can add -D to SPAMD_OPTS in /etc/conf.d/spamd and then have a look at the log file after spamd crashed, it's usually very helpful and detailed |
|
Back to top |
|
|
Talrias n00b
Joined: 23 May 2004 Posts: 32
|
Posted: Tue Feb 21, 2006 8:03 pm Post subject: |
|
|
Thanks, I'll see what that throws up!
Chris _________________ "if triangles had a god, He'd have three sides." |
|
Back to top |
|
|
Talrias n00b
Joined: 23 May 2004 Posts: 32
|
Posted: Wed Feb 22, 2006 1:27 am Post subject: |
|
|
The error seems to be:
Quote: | Feb 22 01:20:39 starglade spamd[7152]: tcp timeout at /usr/lib/perl5/vendor_perl/5.8.7/Mail/SpamAssassin/SpamdForkScaling.pm line 195. |
Chris _________________ "if triangles had a god, He'd have three sides." |
|
Back to top |
|
|
digitalenemy n00b
Joined: 08 Nov 2004 Posts: 63 Location: germany
|
Posted: Wed Feb 22, 2006 8:12 pm Post subject: |
|
|
strange..
i assume you use the latest stable version of both?
for me it work's fine with perl-5.8.7-r3 and spamassassin-3.1.0. you can try remerging spamassassin or/and perl but i doubt this will be the solution.. do you have any additional spamassassin modules installed? like rulesdujour? or do you invoke pyzor or dcc?
and i forgot, there is a bug filed from 11/05 on http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4696
so it doesn't seem to be your fault =) but nevertheless you could find the module causing this and prevent yourself from crashing |
|
Back to top |
|
|
Talrias n00b
Joined: 23 May 2004 Posts: 32
|
Posted: Wed Feb 22, 2006 10:43 pm Post subject: |
|
|
No, it's vanilla perl and SpamAssassin, latest versions. Thanks for pointing me towards that bug!
Chris _________________ "if triangles had a god, He'd have three sides." |
|
Back to top |
|
|
radagast Apprentice
Joined: 20 Mar 2004 Posts: 217 Location: sydney, .au
|
Posted: Tue Jun 06, 2006 3:19 pm Post subject: |
|
|
yep, thanks from me too.
my system was crashing about once a month - usually late on a busy day. last thing in /var/log/messages was spamdforkscaling.
after mucking around with the custom ebuild business for a while, in the end i edited /usr/portage/mail-filter/spamassassin so that line 5 was like
Code: | inherit perl-module eutils |
and around line 68,
Code: |
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${P}-bug4696.patch
} |
then i saved the patch from here: http://issues.apache.org/SpamAssassin/attachment.cgi?id=3381&action=view
as /usr/portage/mail-filter/spamassassin/files/spamassassin-3.1.0-bug4696.patch
and reemerged spamassassin.
i'm sure someone will find this, i hope it helps... |
|
Back to top |
|
|
|