Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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 avoiding work at the Monastery: (6)
As of 2014-08-01 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (4 votes), past polls