Sloooooowwwww WSGI restart

Graham Dumpleton Graham.Dumpleton at gmail.com
Thu Jan 29 20:43:18 EST 2009


On Jan 30, 9:53 am, Ron Garret <rNOSPA... at flownet.com> wrote:
> In article <498171a5$0$3681$426a7... at news.free.fr>,
>  Bruno Desthuilliers <bruno.42.desthuilli... at websiteburo.invalid>
>
>  wrote:
> > Ron Garret a écrit :
> > > In article <mailman.8228.1233179089.3487.python-l... at python.org>,
> > >  Aleksandar Radulovic <a... 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.

Back port available at:

  http://packages.debian.org/etch-backports/libapache2-mod-wsgi

Graham




More information about the Python-list mailing list