[mod_python] Strange server errors

Kevin Ballard kevin at sb.org
Mon Dec 15 21:05:45 EST 2003

Argh. Sorry for bothering you with my problems. I just found the cause 
and it's not mod_python's fault. The problem is doing a graceful 
restart of apache isn't actually restarting properly, which is causing 
conflicts when accessing python scripts. If I stop the server, wait for 
it to finish shutting down, then start it back up, everything works 
just fine.

On Dec 15, 2003, at 7:29 PM, Kevin Ballard wrote:

> This is really strange. I tested my form.py thing from the Tutorial 
> and it would just hang. I'd get absolutely no response from the 
> server. I tried a few times, and then I started getting internal 
> server errors instead, but with nothing in the error log. So I quit 
> Apache and started httpd back up in single process mode (sudo ./httpd 
> -DONE_PROCESS, as per the Troubleshooting section). At that point, my 
> scripts magically started working (with no output to the shell from 
> httpd). I then quit that and started Apache back up normally, and my 
> scripts continue to work. Any idea what was going on, in case this 
> weird stuff happens again?

Kevin Ballard
kevin at sb.org

More information about the Mod_python mailing list