david2008 has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I have a mod_perl application which runs a background script and exits.
The background script is run by fork.
In the child the function setsid is called.
This works for 99% of times.
Sometimes the setsid function fails. I want to understand why it fails and what can be done against it.
I use perl 5.10.1,mod_perl 2.05 and apache 2.2.20.
Thanks,
David
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: mod_perl2 setsid sometimes fails
by Anonymous Monk on Jun 25, 2012 at 09:53 UTC | |
by david2008 (Scribe) on Jun 25, 2012 at 11:09 UTC | |
by Anonymous Monk on Jun 25, 2012 at 11:23 UTC |
Back to
Seekers of Perl Wisdom