Re: Sloooooowwwww WSGI restart

2009-01-30 Thread Ron Garret
In article 146f6796-37b5-4220-bdb1-5119cb3ac...@z6g2000pre.googlegroups.com, Graham Dumpleton graham.dumple...@gmail.com wrote: On Jan 30, 9:53 am, Ron Garret rnospa...@flownet.com wrote: In article 498171a5$0$3681$426a7...@news.free.fr,  Bruno Desthuilliers

Re: Sloooooowwwww WSGI restart

2009-01-29 Thread Bruno Desthuilliers
Ron Garret a écrit : I'm running a WSGI app under apache/mod_wsgi and I've noticed that whenever I restart the server after making a code change it takes a very long time (like a minute) before the script is active again. In other words, I do an apachectl restart, reload the page in my

Re: Sloooooowwwww WSGI restart

2009-01-29 Thread Bruno Desthuilliers
Ron Garret a écrit : In article mailman.8228.1233179089.3487.python-l...@python.org, Aleksandar Radulovic a...@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

Re: Sloooooowwwww WSGI restart

2009-01-29 Thread Aleksandar Radulovic
Graham, On Thu, Jan 29, 2009 at 1:16 AM, Graham Dumpleton graham.dumple...@gmail.com wrote: Sorry, you are wrong to assume that an Apache restart is not be required. If you are using mod_wsgi embedded mode, or mod_python, then a code change will always require a full restart of Apache. I am

Re: Sloooooowwwww WSGI restart

2009-01-29 Thread Graham Dumpleton
On Jan 29, 8:15 pm, Aleksandar Radulovic a...@a13x.net wrote: Graham, On Thu, Jan 29, 2009 at 1:16 AM, Graham Dumpleton graham.dumple...@gmail.com wrote: Sorry, you are wrong to assume that an Apache restart is not be required. If you are usingmod_wsgiembedded mode, or mod_python, then

Re: Sloooooowwwww WSGI restart

2009-01-29 Thread Aleksandar Radulovic
Graham, On Thu, Jan 29, 2009 at 1:00 PM, Graham Dumpleton graham.dumple...@gmail.com wrote: In other words, it is not universal that any code change will be automatically detected and a reload occur. There are also various caveats on what mod_python module importer does, as it is reloading

Re: Sloooooowwwww WSGI restart

2009-01-29 Thread Ron Garret
In article 498171a5$0$3681$426a7...@news.free.fr, Bruno Desthuilliers bruno.42.desthuilli...@websiteburo.invalid wrote: Ron Garret a écrit : In article mailman.8228.1233179089.3487.python-l...@python.org, Aleksandar Radulovic a...@a13x.net wrote: (snip) Secondly, why are you

Re: Sloooooowwwww WSGI restart

2009-01-29 Thread Ron Garret
In article 498170d4$0$23718$426a7...@news.free.fr, Bruno Desthuilliers bruno.42.desthuilli...@websiteburo.invalid wrote: Ron Garret a écrit : I'm running a WSGI app under apache/mod_wsgi and I've noticed that whenever I restart the server after making a code change it takes a very

Re: Sloooooowwwww WSGI restart

2009-01-29 Thread Graham Dumpleton
On Jan 30, 9:53 am, Ron Garret rnospa...@flownet.com wrote: In article 498171a5$0$3681$426a7...@news.free.fr,  Bruno Desthuilliers bruno.42.desthuilli...@websiteburo.invalid  wrote: Ron Garret a écrit : In article mailman.8228.1233179089.3487.python-l...@python.org,  Aleksandar

Sloooooowwwww WSGI restart

2009-01-28 Thread Ron Garret
I'm running a WSGI app under apache/mod_wsgi and I've noticed that whenever I restart the server after making a code change it takes a very long time (like a minute) before the script is active again. In other words, I do an apachectl restart, reload the page in my browser, and one minute

Re: Sloooooowwwww WSGI restart

2009-01-28 Thread Jean-Paul Calderone
On Wed, 28 Jan 2009 13:35:56 -0800, Ron Garret rnospa...@flownet.com wrote: I'm running a WSGI app under apache/mod_wsgi and I've noticed that whenever I restart the server after making a code change it takes a very long time (like a minute) before the script is active again. In other words, I

Re: Sloooooowwwww WSGI restart

2009-01-28 Thread Aleksandar Radulovic
Hi there, On Wed, Jan 28, 2009 at 9:35 PM, Ron Garret rnospa...@flownet.com wrote: I'm running a WSGI app under apache/mod_wsgi and I've noticed that Off the bat, there's no reason to run an app under apache/mod_wsgi while developing it, ie. if u use Pylons or TurboGears, there's an easier way

Re: Sloooooowwwww WSGI restart

2009-01-28 Thread Graham Dumpleton
On Jan 29, 8:35 am, Ron Garret rnospa...@flownet.com wrote: I'm running a WSGI app under apache/mod_wsgiand I've noticed that whenever I restart the server after making a code change it takes a very long time (like a minute) before the script is active again.  In other words, I do an apachectl

Re: Sloooooowwwww WSGI restart

2009-01-28 Thread Ron Garret
In article mailman.8228.1233179089.3487.python-l...@python.org, Aleksandar Radulovic a...@a13x.net wrote: Hi there, On Wed, Jan 28, 2009 at 9:35 PM, Ron Garret rnospa...@flownet.com wrote: I'm running a WSGI app under apache/mod_wsgi and I've noticed that Off the bat, there's no reason

Re: Sloooooowwwww WSGI restart

2009-01-28 Thread Ron Garret
In article mailman.8227.1233179051.3487.python-l...@python.org, Jean-Paul Calderone exar...@divmod.com wrote: On Wed, 28 Jan 2009 13:35:56 -0800, Ron Garret rnospa...@flownet.com wrote: I'm running a WSGI app under apache/mod_wsgi and I've noticed that whenever I restart the server after

Re: Sloooooowwwww WSGI restart

2009-01-28 Thread Graham Dumpleton
On Jan 29, 8:44 am, Aleksandar Radulovic a...@a13x.net wrote: Hi there, On Wed, Jan 28, 2009 at 9:35 PM, Ron Garret rnospa...@flownet.com wrote: I'm running a WSGI app under apache/mod_wsgiand I've noticed that Off the bat, there's no reason to run an app under apache/mod_wsgi while

Re: Sloooooowwwww WSGI restart

2009-01-28 Thread Ron Garret
In article 4cd232ff-ba8b-47aa-8ee6-d8d9712db...@s1g2000prg.googlegroups.com, Graham Dumpleton graham.dumple...@gmail.com wrote: On Jan 29, 8:35 am, Ron Garret rnospa...@flownet.com wrote: I'm running a WSGI app under apache/mod_wsgiand I've noticed that whenever I restart the server after