[mod_python] Re: child process XXXX still did not exit, sending a SIGTERM

Graham Dumpleton grahamd at dscpl.com.au
Wed Jan 4 01:37:34 EST 2006


Martin Blais wrote ..
> On 1/4/06, Graham Dumpleton <grahamd at dscpl.com.au> wrote:
> > Martin Blais wrote ..
> > > Anyway, in any case, it hangs in my own custom interpreter, and not
> in
> > > the main_interpreter.
> > >
> > > My main problem is getting more info at that point, because even if
> I
> > > attach a gdb to the cihld process, apache insists on sending it
> > > SIGKILL 10 seconds later.
> >
> > Which is why I suggested using "apachectl graceful" as if I read the
> > documentation correctly, the main Apache process will wait for the child
> > to exit properly. By default if ShutdownGracefulTimeout is not set or
> 0,
> > it will wait indefinitely and thus wouldn't kill it. This would allow
> > you time to attach gdb.
> >
> > This is of course assuming that that is how it does in fact work. :-)
> 
> I know, but this is only available in apache 2.2.

Hmmm, missed that the GracefulShutdownTimeout was only added
in 2.2. Since 2.0 had graceful shutdown, assumed that that directive
was in 2.0 as well. Pity.

Graham



More information about the Mod_python mailing list