procmail
[Top] [All Lists]

Re: Out of Memory

2009-02-28 08:09:01
On Fri, Feb 27, 2009 at 10:02:15PM -0700, LuKreme wrote:

When trying to process a user Drafts mailbox I got this:

$ formail -n5 -s procmail -m DEFAULT=$HOME/Maildir/.Drafts /dev/null <  
Drafts
procmail: Out of memory

The mbox is large (~400MB) but not as large as some I've processed. I  
suspect there is one massive message in there somewhere that is causing 
formail to explode.  This users /var/mail/user file was over 1GB.  That's 
what I get for allowing 'friends' to not have quotas.


First of all, the message is from procmail, not formail, so I don't
see how it would be formail doing it.  Second, you are using the -n
option to process 5 messages concurrently rather than processing all
serially.  So if you are having memory issues, why not stop doing that?

Third, related to second, from "man procmail":

       Out of memory   The system is out of swap space (and  NORESRETRY
                       has been exhausted).

Fourth, you still are not putting a / at the end of a maildir folrder.
Your syntax will cause procmail to save to mbox format rather than
maildir format.

Dallman
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>