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

2012-10-24 Thread Gilles
On Mon, 1 Oct 2012 09:08:39 +0600, Anton Khalikov an...@khalikov.ru
wrote:
 ps aux | grep fcgi returns nothing. Can it run under a different
 name?

You need to run ps axu | grep $(id -un) instead

Thank you.


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
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-30 Thread Gilles
On Sat, 29 Sep 2012 11:41:06 -0700, Josiah Purtlebaugh
josiah.purtleba...@gmail.com wrote:
Sure Anton, assuming that the mod_fcgid process is running as the same
user that he has shell access as.

ps aux | grep fcgi returns nothing. Can it run under a different
name?


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
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-30 Thread Anton Khalikov
 ps aux | grep fcgi returns nothing. Can it run under a different
 name?


You need to run ps axu | grep $(id -un) instead

--
Best regards
Anton Khalikov

--
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-29 Thread Anton Khalikov
 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.

This is not exactly true. If you have an access to server's shell via ssh or 
console, you can terminate running fcgi processes using shell command 'kill'. 

If your fastcgi processes are running under python, you can run 'pkill python' 
to finish them without waiting until timeout occurs. 

---
Best regards
Anton Khalikov
--
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


[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