Sloooooowwwww WSGI restart

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Thu Jan 29 10:06:58 CET 2009


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




More information about the Python-list mailing list