Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2016-02-08 23:41 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (291 votes), past polls