[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: Re: improving the forking guide
From: Stas Bekman <stas () stason ! org>
Date: 2003-09-26 21:26:55
[Download RAW message or body]
[making the doc issue a separate thread ]
> Stas Bekman wrote:
>
>>>Understand re: cleanup_for_exec
>>>
>>>I read the Avoiding Zombies section and $SIG{CHLD}
>
> = 'IGNORE' didn't work
>
>>>for me. I realize that I didn't try the waitpid()
>
> example after the fork.
>
>>I suppose this varies from OS to OS :(
>>
>>Was your suggestion different from the one in the
>
> guide?
>
> Yes - it's the only one I could get to work w/ Solaris
> 8. It seems to be the POSIX options that do it. Also,
> my version will find any child and reap if ready,
> whereas the guide will only collect the specified pid.
> I'm doing a fork and exec, then the exec'd process
> hangs around for 1-10 minutes so I have to be able to
> reap anything that needs reaping.
Can you please post a pod patch to that document to include this Solaris
specific information? You can get the modperl-docs cvs repository from:
http://perl.apache.org/download/docs.html
Also it'd be very helpful to port that mp1-specific forking from mod_perl
information to mp2 docs. As you are probably one of the very first people to
mess with spawning processes under mp2, you are probably the best person to do
the porting ;)
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic