[Mod-fcgid-users] [newbie] Delay after editing script?

2012-09-28 Thread Gilles
Hello

I'm only getting started with FCGI to run Python web applications.

On a shared host with Apache + mod_fcgid + the Flup FastCGI server
that takes care of translating between FastCGI and WSGI, I noticed
that there's a several minute delay between when I edit a script and
when the change shows up in a browser.

I read the docs
(http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html), but didn't
find a directive that would explain this.

But anyway, on a shared host, is there a way to reduce this delay, or
is it off-limit to non-root users?

Thank you.


--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users


Re: [Mod-fcgid-users] [newbie] Delay after editing script?

2012-09-28 Thread Josiah Purtlebaugh
Hello Gilles,

Are you familiar with how mod_fcgid executes scripts? Basically, the
executable is run and stays in memory so that it can serve any future
requests without forking additional processes per request. Once the
process reaches the timeout defined in the mod_fcgid configuration (or
the max number of requests) the process will die and a new process
will be created by the next request.

Unfortunately, without access to the mod_fcgid configuration you are
at the mercy of the timeout or max requests variables defined by the
administrator. That is why it appears to take so long for your scripts
to update.

Sorry for the bad news but I hope this helps.

Josiah Purtlebaugh

On Fri, Sep 28, 2012 at 4:38 PM, Gilles codecompl...@free.fr wrote:
 Hello

 I'm only getting started with FCGI to run Python web applications.

 On a shared host with Apache + mod_fcgid + the Flup FastCGI server
 that takes care of translating between FastCGI and WSGI, I noticed
 that there's a several minute delay between when I edit a script and
 when the change shows up in a browser.

 I read the docs
 (http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html), but didn't
 find a directive that would explain this.

 But anyway, on a shared host, is there a way to reduce this delay, or
 is it off-limit to non-root users?

 Thank you.


 --
 Got visibility?
 Most devs has no idea what their production app looks like.
 Find out how fast your code is with AppDynamics Lite.
 http://ad.doubleclick.net/clk;262219671;13503038;y?
 http://info.appdynamics.com/FreeJavaPerformanceDownload.html
 ___
 Mod-fcgid-users mailing list
 Mod-fcgid-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users


Re: [Mod-fcgid-users] [newbie] Delay after editing script?

2012-09-28 Thread Gilles
On Fri, 28 Sep 2012 16:56:39 -0700, Josiah Purtlebaugh
josiah.purtleba...@gmail.com wrote:
Unfortunately, without access to the mod_fcgid configuration you are
at the mercy of the timeout or max requests variables defined by the
administrator. That is why it appears to take so long for your scripts
to update.

Thanks for the confirmation. I'll just work on the scripts on a test
host, and only upload files once they're ready for showtime.


--
How fast is your code?
3 out of 4 devs don\\\'t know how their code performs in production.
Find out how slow your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219672;13503038;z?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
___
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users