We successfully reconfigured our RT server to use Gmail instead of a
local smtp server.
Unfortunately we are running into ‘Cannot allocate memory’ errors
after apache consumes all the available memory, please see sample
[Mon Jul 23 09:34:04 2012]
[crit]:rt-4.0.2-1424-1343036044-450.5978-6-0@ourdomain: Could not
send mail with command
/usr/sbin/sendmail -oi -t: couldn’t execute
program: Cannot allocate memory at
/usr/share/request-tracker4/lib/RT/Interface/Email.pm line 448.
The top command, with the shift M option, shows Apache as being the culprit.
Our server is running the below software:
Exim version 4.72
Debian version 6.0.3
The /etc/request-tracker4/RT_SiteConfig.pm perl module previously had
the below email configuration lines:
Set($MailCommand , ‘smtp’);
These have now been changed to:
Set( $MailCommand, ‘sendmailpipe’);
Set( $SendmailPath , “/usr/sbin/sendmail”);
Set( $SendmailArguments , “-oi -t”);
Sendmail is a symlink to exim4.
The below thread, sheds more light on the problem, sendmailpipe being
incompatible with exim:
To fix the problem could we use the below configuration in the
Set($MailCommand , ‘sendmail’);
Set($SendmailArguments , "-bm – ");
Sourced from: http://requesttracker.wikia.com/wiki/ManualInstallation
Or should we use the Apache prefork MPM change in:
Any other suggestions, will be greatly appreciated.