You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Troy Davis <tr...@digissance.com> on 2007/01/27 09:54:06 UTC

spamd hanging machine

Hello,

I've noticed a server of mine becoming unresponsive over the network,  
forcing me to reset the power to it on several occasions per week for  
the last 3 weeks. A couple of times I was unable to get to a computer  
to restart it quickly, and I found these entries in /var/log/maillog.

Jan 21 16:51:35 w2 spamd[26821]: Use of uninitialized value in  
concatenation (.) or string at /usr/lib/perl5/ve
ndor_perl/5.8.8/Mail/SpamAssassin/SpamdForkScaling.pm line 269.
Jan 21 16:51:35 w2 spamd[26821]: prefork: select returned error on  
server filehandle:
Jan 21 20:49:47 w2 dovecot: Dovecot v1.0.rc17 starting up

Jan 24 17:01:52 w2 spamd[2021]: Use of uninitialized value in  
concatenation (.) or string at /usr/lib/perl5/ven
dor_perl/5.8.8/Mail/SpamAssassin/SpamdForkScaling.pm line 269.
Jan 24 17:01:52 w2 spamd[2021]: prefork: select returned error on  
server filehandle:
Jan 24 21:17:37 w2 dovecot: Dovecot v1.0.rc17 starting up

It looks to me like spamd was the last process before both crashes,  
there are no other syslog entries after the prefork messages until  
system restart. The system is running Fedora Core 5 with current  
updates. I just recompiled the DB_File and BerkleyDB perl modules  
tonight, hoping that might resolve the issue. Here's some more info  
that might be of help:

[root@w2 awstats]# ps aux | grep -P "spam|amavis|sendmail"
root     29408  0.1  1.4  34036 29660 ?        Ss   03:18   0:02 /usr/ 
bin/spamd -d -c -m5 -H -r /var/run/spamd.pid
root     29431  0.0  0.1   8548  2496 ?        Ss   03:18   0:00  
sendmail: accepting connections
smmsp    29441  0.0  0.0   7372  1712 ?        Ss   03:18   0:00  
sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root     29444  0.3  1.6  38656 34212 ?        S    03:18   0:04  
spamd child
root     29445  0.0  1.3  34036 27824 ?        S    03:18   0:00  
spamd child
amavis   29465  0.1  2.4  61904 50208 ?        Ss   03:19   0:02  
amavisd (master)
amavis   29470  0.0  2.3  62640 49284 ?        S    03:19   0:00  
amavisd (virgin child)
amavis   29471  0.0  2.3  62640 49276 ?        S    03:19   0:00  
amavisd (virgin child)
root     31402  0.0  0.1   8576  3016 ?        S    03:42   0:00  
sendmail: l0R8gqtE031402 dsl-189-158-88-192.prod-infinitum.com.mx  
[189.158.88.192] (may be forged): RCPT TO: <di...@glyss.com>

[root@w2 awstats]# rpm -q spamassassin sendmail amavisd-new pyzor
spamassassin-3.1.7-5.fc5
sendmail-8.13.8-1.fc5
amavisd-new-2.4.4-2.fc5
pyzor-0.4.0-10.fc5

cpan> i Mail::SpamAssassin
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
   Database was generated on Sat, 27 Jan 2007 02:26:33 GMT
Strange distribution name [Mail::SpamAssassin]
Module id = Mail::SpamAssassin
     DESCRIPTION  identify spam mail using text analysis
     CPAN_USERID  JMASON (Justin Mason <jm...@cpan.org>)
     CPAN_VERSION 3.001007
     CPAN_FILE    J/JM/JMASON/Mail-SpamAssassin-3.1.7.tar.gz
     DSLI_STATUS  MmpO (mature,mailing-list,perl,object-oriented)
     MANPAGE      Mail::SpamAssassin - Spam detector and markup engine
     INST_FILE    /usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin.pm
     INST_VERSION 3.001007

Any suggestions?

Thank you,
Troy

Re: spamd hanging machine

Posted by sk8conz <te...@darkstar.co.nz>.
I had the exact same problem.  There is something very similar in Bugzilla at
Spamassassin.org.

The fix that worked for them and me is to use spamd with the --round-robin
option.

Hope this helps



Troy Davis-2 wrote:
> 
> Hello,
> 
> I've noticed a server of mine becoming unresponsive over the network,  
> forcing me to reset the power to it on several occasions per week for  
> the last 3 weeks. A couple of times I was unable to get to a computer  
> to restart it quickly, and I found these entries in /var/log/maillog.
> 
> Jan 21 16:51:35 w2 spamd[26821]: Use of uninitialized value in  
> concatenation (.) or string at /usr/lib/perl5/ve
> ndor_perl/5.8.8/Mail/SpamAssassin/SpamdForkScaling.pm line 269.
> Jan 21 16:51:35 w2 spamd[26821]: prefork: select returned error on  
> server filehandle:
> Jan 21 20:49:47 w2 dovecot: Dovecot v1.0.rc17 starting up
> 
> Jan 24 17:01:52 w2 spamd[2021]: Use of uninitialized value in  
> concatenation (.) or string at /usr/lib/perl5/ven
> dor_perl/5.8.8/Mail/SpamAssassin/SpamdForkScaling.pm line 269.
> Jan 24 17:01:52 w2 spamd[2021]: prefork: select returned error on  
> server filehandle:
> Jan 24 21:17:37 w2 dovecot: Dovecot v1.0.rc17 starting up
> 
> It looks to me like spamd was the last process before both crashes,  
> there are no other syslog entries after the prefork messages until  
> system restart. The system is running Fedora Core 5 with current  
> updates. I just recompiled the DB_File and BerkleyDB perl modules  
> tonight, hoping that might resolve the issue. Here's some more info  
> that might be of help:
> 
> [root@w2 awstats]# ps aux | grep -P "spam|amavis|sendmail"
> root     29408  0.1  1.4  34036 29660 ?        Ss   03:18   0:02 /usr/ 
> bin/spamd -d -c -m5 -H -r /var/run/spamd.pid
> root     29431  0.0  0.1   8548  2496 ?        Ss   03:18   0:00  
> sendmail: accepting connections
> smmsp    29441  0.0  0.0   7372  1712 ?        Ss   03:18   0:00  
> sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
> root     29444  0.3  1.6  38656 34212 ?        S    03:18   0:04  
> spamd child
> root     29445  0.0  1.3  34036 27824 ?        S    03:18   0:00  
> spamd child
> amavis   29465  0.1  2.4  61904 50208 ?        Ss   03:19   0:02  
> amavisd (master)
> amavis   29470  0.0  2.3  62640 49284 ?        S    03:19   0:00  
> amavisd (virgin child)
> amavis   29471  0.0  2.3  62640 49276 ?        S    03:19   0:00  
> amavisd (virgin child)
> root     31402  0.0  0.1   8576  3016 ?        S    03:42   0:00  
> sendmail: l0R8gqtE031402 dsl-189-158-88-192.prod-infinitum.com.mx  
> [189.158.88.192] (may be forged): RCPT TO: <di...@glyss.com>
> 
> [root@w2 awstats]# rpm -q spamassassin sendmail amavisd-new pyzor
> spamassassin-3.1.7-5.fc5
> sendmail-8.13.8-1.fc5
> amavisd-new-2.4.4-2.fc5
> pyzor-0.4.0-10.fc5
> 
> cpan> i Mail::SpamAssassin
> CPAN: Storable loaded ok
> Going to read /root/.cpan/Metadata
>    Database was generated on Sat, 27 Jan 2007 02:26:33 GMT
> Strange distribution name [Mail::SpamAssassin]
> Module id = Mail::SpamAssassin
>      DESCRIPTION  identify spam mail using text analysis
>      CPAN_USERID  JMASON (Justin Mason <jm...@cpan.org>)
>      CPAN_VERSION 3.001007
>      CPAN_FILE    J/JM/JMASON/Mail-SpamAssassin-3.1.7.tar.gz
>      DSLI_STATUS  MmpO (mature,mailing-list,perl,object-oriented)
>      MANPAGE      Mail::SpamAssassin - Spam detector and markup engine
>      INST_FILE    /usr/lib/perl5/site_perl/5.8.6/Mail/SpamAssassin.pm
>      INST_VERSION 3.001007
> 
> Any suggestions?
> 
> Thank you,
> Troy
> 
> 

-- 
View this message in context: http://www.nabble.com/spamd-hanging-machine-tf3127039.html#a8682110
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.