I have some code which essentially does this:
open my $fh, "|path/to/sendmail -t -oi -oem";
print $fh, "some text";
close $fh;
It is being called in a mod_perl context.
I've been advised that we may receive up to 13,000 requests per second for
this piece of code - peak.
What limits do I need to worry about?
Thanks
Justin
--
View this message in context: http://www.nabble.com/Perl-and-sendmail-volume-limit--tp25871223p25871223.html
Sent from the Perl - Comp.Lang.Perl.Moderated mailing list archive at Nabble.com.
With 13_000 requests per second I would suggest you to consider using
cached SMTP connection and Net::SMTP perl module.
[send "NOOP" smtp command to check if cached smtp connection is "alive"]
*OR*
*IF* you prefer simplicity and "horse power" is not a big problem *THEN*
add -odd flag to sendmail invocation (queue message without DNS check)
ad make sendmail do more frequent client queue runs
Anyway: Ask for details at news:comp.mail.sendmail - it is more
sendmail/MTA tuning then perl tuning.
--
[pl>en Andrew] Andrzej Adam Filip : an...@onet.eu : Andrze...@gmail.com
There is hopeful symbolism in the fact that flags do not wave in a vacuum.
-- Arthur C. Clarke