At 09:32 AM 2/12/2007, Bryan K Walton wrote:
>Hi everybody,
>         Friday night, we had a problem with our Amavisd-new/Postfix
>smtp gateway.  Its been running without any problems since November
>2006.  We are utilizing the tmpfs filesystem as described here:
>http://www.arschkrebs.de/postfix/amavisd_tmpfs.shtml
>
>Friday night, this tmpfs filesystem filled up.  We run amavisd-new
>with max_servers set to 7.  We created our tmpfs directory with 312MB.
>When we discovered the problem Saturday morning, what we noticed was
>that there were thousands of dead tmp files in /var/amavis/tmp.
>(Usually there are no more than 7).  This had filled up the tmpfs and
>caused Amavisd-New to quit processing messages.
>
>I've dug through the mailing list archives and seen a very similar
>issue back in 2005:
>
>http://groups.google.com/group/mailing.unix.amavis-user/tree/browse_frm/thread/ba6195cb1fbc1ab4/
>
>That thread seems to suggest that Convert::UUlib might be the issue.  I
>am more than willing to upgrade Convert::UUlib if needed.  I'm just
>wanting to ensure that this is indeed the issue.  Has anybody had this
>problem?  If so, how was it fixed?  My logs seem to point elsewhere:
>
>-- begin snip --
>Feb  9 20:31:59 gw1.machlink.com amavis[11299]: (11299-03) (!!)
>TROUBLE in check_mail: mime_decode-1 FAILED: MIME::Parser: can't
>close: No space left on device at /usr/share/perl5/MIME/Parser.pm line
>834.
>
>-- end snip --

To get back going, you will need to stop amavisd-new and clean out 
the tmpfs.  You can save those files elsewhere for later analysis, or 
just delete them.  The actual mail is still stored in the postfix 
queue so deleting the tmpfs files will not lose any mail.

Is the snip above the earliest TROUBLE message amavisd-new logs?  If 
so, move that particular mail message out of the way (postsuper -h 
QUEUEID) and see if mail then processes normally.  Then you can 
analyze that message to see why amavisd-new choked on it.  Maybe it 
has a big archive that filled up the tmpfs.

Or after you clean out the tmpfs restart amavisd-new and watch the 
logs for new TROUBLE messages.

-- 
Noel Jones 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
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