Re: procmail keeps running out of resources?

Chris Babcock <[email protected]> Wed, 13 Apr 2011 10:45:23 -0700
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
On Apr 13, 2011 8:26 AM, "Jason Welsh" <jason-fYJcuH/[email protected]> wrote:
>
>
>
> On 04/13/11 09:29, R A Lichtensteiger wrote:
> >
> > I'm afraid troubleshooting crm code necessitates waiting until one
> > of the experts gets involved.  Two convoluted, inscrutable languages
> > (procmail & sendmail config) suffice for my feeble little brain ...
> >
> > But at least they now know where to poke the stick ...
> >
> > Reto
> you got me much farther than I was before. I appreciate it.
>
> Jason

The 8 MB memory limit is part of the DoS prevention profile. CRM doesn't
keep open file handles so the output operation fails when the output file
exceeds what the interpreter is configured to hold in memory. You can
increase the memory cap with a command line switch, but that just causes the
program to wait until the output file grows to the new size before bailing
on you.

The best solution would probably be a patch to automatically rotate out that
file. The next best thing would be a cron job to rotate the file.

Chris
--
Sent from my HTC Eris running Android 2.3.3 Gingerbread.

------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now!  http://p.sf.net/sfu/ibm-webcastpromo

_______________________________________________
Crm114-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crm114-general