You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Agnello George <ag...@gmail.com> on 2008/02/29 08:17:04 UTC

spamassassin: not scanning mails on port 783

HI
I had installed my Spamassassin on a linux box ( cent os ) to scan mails
from a windows "Smatermail" server and  so far it was working good, but
suddenly it started giving the following error :

Fri Feb 29 00:12:49 2008 [27218] info: spamd: handled cleanup of child pid
19811 due to SIGCHLD
Fri Feb 29 00:19:18 2008 [27218] warn: prefork: retrying syswrite():
Resource temporarily unavailable at
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/SpamdForkScaling.pm line
729.
Fri Feb 29 00:19:18 2008 [27218] warn: prefork: syswrite(16) to 15822 failed
on try 2 at
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/SpamdForkScaling.pm line
697.
Fri Feb 29 00:19:19 2008 [27218] warn: prefork: retrying syswrite():
Resource temporarily unavailable at
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/SpamdForkScaling.pm line
729.
Fri Feb 29 00:19:19 2008 [27218] warn: prefork: syswrite(16) to 15822 failed
on try 3 at
/usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/SpamdForkScaling.pm line
697.

i then killed the spamd daemon and restarted spamd with the following
command

 /usr/bin/spamd -d -u spamassassin -c -i -A 216.185. -H --max-children=7
--max-conn-per-child=128 -s /var/log/spamd.log
--virtual-config-dir=/vhome/%u/spamassassin -r
/var/run/spamassassin/spamd.pid -r /var/run/spamassassin/spamd.pid

( following are my logs )

Fri Feb 29 00:28:21 2008 [20110] info: prefork: child states: II
Fri Feb 29 00:28:53 2008 [20110] info: spamd: server killed by SIGTERM,
shutting down
Fri Feb 29 00:28:54 2008 [20180] info: logger: removing stderr method
Fri Feb 29 00:28:57 2008 [20182] info: spamd: server started on port 783/tcp
(running version 3.2.4)
Fri Feb 29 00:28:57 2008 [20182] info: spamd: server pid: 20182
Fri Feb 29 00:28:57 2008 [20182] info: spamd: server successfully spawned
child process, pid 20187
Fri Feb 29 00:28:57 2008 [20182] info: spamd: server successfully spawned
child process, pid 20188
Fri Feb 29 00:28:57 2008 [20182] info: prefork: child states: IS
Fri Feb 29 00:28:57 2008 [20182] info: prefork: child states: II

But now the mails are not being scanned , any idea why is this happening  ?

thanks a lot !!

-- 
Regards
Agnello Dsouza
www.linux-vashi.blogspot.com
www.bible-study-india.blogspot.com

Re: spamassassin: not scanning mails on port 783

Posted by Matt Kettler <mk...@verizon.net>.
Agnello George wrote:
> HI
> I had installed my Spamassassin on a linux box ( cent os ) to scan 
> mails from a windows "Smatermail" server and  so far it was working 
> good, but suddenly it started giving the following error :
>  
> Fri Feb 29 00:12:49 2008 [27218] info: spamd: handled cleanup of child 
> pid 19811 due to SIGCHLD
> Fri Feb 29 00:19:18 2008 [27218] warn: prefork: retrying syswrite(): 
> Resource temporarily unavailable at 
> /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/SpamdForkScaling.pm 
> line 729.
> Fri Feb 29 00:19:18 2008 [27218] warn: prefork: syswrite(16) to 15822 
> failed on try 2 at 
> /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/SpamdForkScaling.pm 
> line 697.
> Fri Feb 29 00:19:19 2008 [27218] warn: prefork: retrying syswrite(): 
> Resource temporarily unavailable at 
> /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/SpamdForkScaling.pm 
> line 729.
> Fri Feb 29 00:19:19 2008 [27218] warn: prefork: syswrite(16) to 15822 
> failed on try 3 at 
> /usr/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/SpamdForkScaling.pm 
> line 697.
>
> i then killed the spamd daemon and restarted spamd with the following 
> command
>  
>  /usr/bin/spamd -d -u spamassassin -c -i -A 216.185. -H 
> --max-children=7 --max-conn-per-child=128 -s /var/log/spamd.log 
> --virtual-config-dir=/vhome/%u/spamassassin -r 
> /var/run/spamassassin/spamd.pid -r /var/run/spamassassin/spamd.pid
>  
> ( following are my logs )
>  
> Fri Feb 29 00:28:21 2008 [20110] info: prefork: child states: II
> Fri Feb 29 00:28:53 2008 [20110] info: spamd: server killed by 
> SIGTERM, shutting down
> Fri Feb 29 00:28:54 2008 [20180] info: logger: removing stderr method
> Fri Feb 29 00:28:57 2008 [20182] info: spamd: server started on port 
> 783/tcp (running version 3.2.4)
> Fri Feb 29 00:28:57 2008 [20182] info: spamd: server pid: 20182
> Fri Feb 29 00:28:57 2008 [20182] info: spamd: server successfully 
> spawned child process, pid 20187
> Fri Feb 29 00:28:57 2008 [20182] info: spamd: server successfully 
> spawned child process, pid 20188
> Fri Feb 29 00:28:57 2008 [20182] info: prefork: child states: IS
> Fri Feb 29 00:28:57 2008 [20182] info: prefork: child states: II
>  
> But now the mails are not being scanned , any idea why is this 
> happening  ?
Are all your connections to spamd coming from hosts in 216.185.*.*, and 
NONE from the local machine (127.0.0.1)? You might want to change to -A 
216.185.,127.0.0.1