[rt-users] sendmail memory allocation.

Richard Brady rnbrady at gmail.com
Wed Jan 28 06:24:06 EST 2009


Hey Curtis

I have been pulling my hair out over this for some time now.

It is triggered when sending a large email (over some threshold size, around
2MB in my case) and then persists until the next restart of apache (apache2
in my case). It is a pretty silent failure, although you will see in the RT
ticket display that the usual "Outgoing email recorded" log is missing.

I did manage to fix it for most cases, but I can't remember how. I'm hoping
I doumented it somewhere and can give you some tips if I find where.
However, I have just had a new instance of the problem with an 11MB email
(which is why I am digging around today). So it looks like my solution
didn't fix the problem, it simply increased the threshold.

I will reply shortly with whatever I can find.

Richard


On Wed, Jan 7, 2009 at 6:10 PM, Curtis Bruneau <curtisb at vianet.ca> wrote:

> Has anyone ever come across the following error? It seemed to have
> happened randomly, I had to shutdown apache since it was stuck in this
> state for sending mails. I'm using apache2 and fastcgi, I'm guessing
> something broke once and due to the constant running it affected
> everything else. I doubt there's anything that can be done just curious
> if others have seen.
>
> [crit]: <rt-3.8.1-*@domain.com>: Could not send mail with command
> `/usr/sbin/sendmail -oi -t`: couldn't e
> xecute program: Cannot allocate memory at
> /var/opt/rt3/bin/../lib/RT/Interface/Email.pm line 405.
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090128/ed86db35/attachment.htm>


More information about the rt-users mailing list