Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
There's more than one way to do things
 
PerlMonks  

Re: Forking not completing

by larryl (Scribe)
on Mar 15, 2001 at 06:33 UTC ( #64603=note: print w/ replies, xml ) Need Help??


in reply to Forking not completing

You don't mention what $mailprog is, but assuming it's sendmail you might want to investigate the -odq option. If sendmail is running as a daemon on your system (look for something like /usr/lib/sendmail -bd -q15m in the process list), adding that option will not let the mail be delivered directly but instead queues it up for the next regularly scheduled time that sendmail will run the queue (e.g. -q15m means every 15 minutes). I'm not a sendmail guru, but it's my understanding that this will be more resource-friendly than starting up a synchronous sendmail process for each outgoing email.


Comment on Re: Forking not completing
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://64603]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (12)
As of 2014-04-18 19:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (471 votes), past polls