[mod_python] apachectl restart == dead mod_python

Graham Dumpleton grahamd at dscpl.com.au
Thu Sep 8 22:06:10 EDT 2005


On 09/09/2005, at 11:43 AM, The Doctor What wrote:

> Hello!
>
> I have apache2 2.0.54, mod_python 3.1.3, python 2.3.5 (Debian
> Sarge).
>
> I can start up apache2 and the mod_python pages work fine.
>
> However, if I then do apachectl restart, the mod_python pages hang
> forever.  Frozen.  Eventually I get a timeout message in my browser.
> The apache children do not die readily and require extra time to
> clean up. :-(
>
> I full stop/start works everytime but in not a desirable solution
> for a live server with multiple domains.  In addition, I'd have to
> change all the log rotation stuff, etc.
>
> I particularly interested in TRAC, but it seems to be a generic
> problem. I want to get PSE on my server, too.
>
> Is there some option I'm not including or something?

Is this happening with a really simple mod_python handler, ie.,
something like mptest, or something more complicated? Ie., can
you be sure it isn't the handler code itself is causing the
problem?

What mode is Apache running in, "prefork" or "worker"?

Do you get any messages in the Apache error log file which may be
pertinent?

Graham



More information about the Mod_python mailing list