Scott wrote:

> List,

> I've been receiving this problem for a while now, but decided enough is 
> enough ....

> My server is SuSE 9.0 on an AMD Sempron machine.. 1GB ram..  Comcast 
> cablemodem...

> Amavisd version is :  amavisd-new-2.3.0

> About every 4-5 days, email will stop sending/receiving, and I get the 
> following error in my amavisd log file.

> Oct  1 16:14:41 ns1 /usr/local/sbin/amavisd[16241]: (16241-03) ESMTP> 
> 451 4.5.0 Error in processing, id=16241-03, mime_decode-1 FAILED: 
> run_command (open pipe): Can't fork at 
> /usr/lib/perl5/5.8.3/i586-linux-thread-multi/IO/File.pm line 176. at 
> /usr/local/sbin/amavisd line 1783.
> Oct  1 16:22:46 ns1 /usr/local/sbin/amavisd[16243]: (16243-05) TROUBLE 
> in check_mail: mime_decode-1 FAILED: run_command (open pipe): Can't fork 
> at /usr/lib/perl5/5.8.3/i586-linux-thread-multi/IO/File.pm line 176. at 
> /usr/local/sbin/amavisd line 1783.
> Oct  1 16:22:46 ns1 /usr/local/sbin/amavisd[16243]: (16243-05) sending 
> SMTP response: "451 4.5.0 Error in processing, id=16243-05, 
> mime_decode-1 FAILED: run_command (open pipe): Can't fork at 
> /usr/lib/perl5/5.8.3/i586-linux-thread-multi/IO/File.pm line 176. at 
> /usr/local/sbin/amavisd line 1783."


> If I try to issue an "amavisd stop"  I'll receive the message "Waiting 
> for process <PID> to terminate" (PID is the PID # of the amavis parent 
> process)

> It will just loop with that error, forcing me to CTRL_C and reboot..  
> (is this a windows product?)

> After rebooting, amavisd will fail (kicked off via rc.local) with the 
> following error:

I would search the archives for the word 'fork' , you will see
responses dealing with resource limits (like running out of memory).
Like this one:
http://marc.theaimsgroup.com/?l=amavis-user&m=111144940508012&w=2
Run 'top' when it happens. If you are running amavisd-new in a ram
disk, it might not be big enough, or you may be running too many
amavisd-new children.

> Oct  1 16:28:34 ns1 /usr/local/sbin/amavisd[1015]: SpamControl: 
> initializing Mail::SpamAssassin
> Oct  1 16:28:34 ns1 /usr/local/sbin/amavisd[1015]: TROUBLE in 
> pre_loop_hook: Error creating a DNS resolver socket: Network is 
> unreachable at 
> /usr/lib/perl5/site_perl/5.8.3/Mail/SpamAssassin/DnsResolver.pm line 202.

> After this, if I manually run /usr/local/sbin/amavisd it will start 
> successfully.

> I know a little about this, but not enough to troubleshoot it myself 
> (since the error messages are rather meaningless to me)

> Any thoughts?

> The second part only started after I did the most recent update of 
> SpamAssassin (SA version 3.1.0)

With a host name of ns1, maybe your name server software starts up after
amavisd-new. Just a thought. Other than that, I'm not sure.

> Thanks
> Scott

Gary V



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to