no nonsens ;)

i want to start a defined numbers of apps to hold in backhand by config of 
module, not by wgeting around...
lets say 3-4 apps of two differnet php-cgi would be enough.
apache in mod_prefork has same procedure with 
MinSpareServers/MaxSpareServers...

Sure, PHP needs only 2-3 seconds to start and begin parsing(typical loaded 
webserver), but this is the time i try to avoid and i have to explain to my 
users.
In my opinion this would be a way to optimize speed of requests.
If there is no possibility i have to live with it ;)

Thanks
Andre

----- Original Message ----- 
From: "Gabriel Barazer" <[EMAIL PROTECTED]>
To: <mod-fcgid-users@lists.sourceforge.net>
Sent: Tuesday, February 05, 2008 2:37 PM
Subject: Re: [Mod-fcgid-users] prespawn of cgi-apps


Hi there,

On 02/05/2008 12:18:29 PM +0100, Andre Hübner <[EMAIL PROTECTED]> wrote:
> sorry, wget is not an alternative.
> i dont know hosts that use a cgi-application. users can switch on their 
> own.
> in bad case i would start too much apps so server is fully overloaded or 
> is
> killing prespawned apps. we talk about a LOT of domains...

there is a nonsense here: you want to automatically start fcgi
processes, but you don't want to start too many of them because of an
overload risk. What kind of config option do you want ? How would you
choose which fcgi app to start ?

Moreover, PHP is very fast to start in fastcgi mode, even with a
truckload of modules and extensions in the config file. Only the bare
executable + associated libraries will be preloaded, so if you have any
long-running initialization routines in your PHP code, they will not be
preloaded even if the fcgi process is started before the first query.

Maybe you are looking at the wrong problem here ?

Cheers,
Gabriel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

Reply via email to