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 child CGIs.  This has the potential to leave broken 
> > > child processes behind.
> > 
> > "apachectl stop" never SIGKILLs the parent though, are you using init 
> > scripts for this really?  We had exactly that problem in the
> 
> But the parent httpd process sents SIGKILL to its child processes after a
> timeout, correct? And the cgi's are childs of the httpd childs.

Yes, but Paul was writing about the *parent* getting SIGKILLed before it 
gets a chance to itself SIGKILL any errant CGI scripts.  That won't 
happen with apachectl; but init scripts are indeed written to do a 
"SIGTERM, wait, SIGKILL" on the parent.

joe

Reply via email to