Sloooooowwwww WSGI restart

Ron Garret rNOSPAMon at flownet.com
Thu Jan 29 23:53:24 CET 2009


In article <498171a5$0$3681$426a74cc at news.free.fr>,
 Bruno Desthuilliers <bruno.42.desthuilliers at websiteburo.invalid> 
 wrote:

> Ron Garret a écrit :
> > In article <mailman.8228.1233179089.3487.python-list at python.org>,
> >  Aleksandar Radulovic <alex at a13x.net> wrote:
> (snip)
> >> Secondly, why are you restarting apache after code changes? In normal
> >> circumstances, you shouldn't have to do that.
> > 
> > I thought (and experiment confirms) that only the main WSGI app file 
> > gets reloaded automatically when it changes, not the libraries.
> 
> Depends on how you configure mod_wsgi. Read the part about "Process 
> Reloading Mechanism" here:
> http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode

I'm running Debian Etch, which means I have an older version of 
mod_wsgi, which means I don't have the process reloading mechanism.

rg



More information about the Python-list mailing list