Re: cgi: KILL_AFTER_TIMEOUT vs KILL_ALWAYS

2006-10-25 Thread Joe Orton
On Wed, Oct 25, 2006 at 08:17:22AM +0200, Plüm, Rüdiger, VF EITO wrote: I believe that the parent process, which is supposed to have a 7 second space between its own SIGTERM and SIGKILL, is getting the SIGKILL before it has slept for 3 seconds *and* sent the final SIGKILL to the

cgi: KILL_AFTER_TIMEOUT vs KILL_ALWAYS

2006-10-24 Thread Paul Querna
When creating a subprocess (ie a CGI in this case), APR has several choices on how to clean it up, when the parent process is exiting or running a pool cleanup. Using apr_pool_note_subprocess, the choices are: APR_KILL_NEVER -- process is never sent any signals APR_KILL_ALWAYS