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...
i was looking for Configuration-Parameter for mod_fcgid to prespawn apps and 
use them if they are needed.
you sent me the nice link "how to ask questions the smart way" although 
enough details were provided, sorry i did not found the corresponding doc 
for answers...

Andre

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


>> > do they all start when the server restarts?
>>
>> no, i believe thats my question. how it is possible to prespawn my 
>> php-cgi
>> executable to avoid waintingtime until app is fully loaded
>
> how long is the waiting time?
>
>> > what do you mean when you say 'faster'? (1 second - 1 minute - 1msec)
>>
>> faster is relative, it simple means "faster" ;)
>
> but how slow is the delay that constitutes your problem? looks to me, like 
> you
> are chasing ghosts.
>
> anyway - just build a restart script which will call lynx (or wget) on a 
> url
> on each host whose fcgi php you want to prespawn. that will start your php
> right after restarting...
>
> <<<<<<<<<<
> #!/bin/sh
> #this is untested code
> apache2ctl graceful
> lynx -dump http://somehost/index.php > /dev/null
> lynx -dump http://otherhost/index.php > /dev/null
> lynx -dump http://thirdhost/index.php > /dev/null
>>>>>>>>>>>
>
> ...this doesnt work for hosts which server many requests, since the first
> request is likely to come before the wget call to the fcgi. but then, the 
> app
> would have started already anyway...
>
> kind regards
> Thilo
>
> -------------------------------------------------------------------------
> 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