On Monday 04 February 2008 15:42:41 Andre Hübner wrote: > Hello List, > > i use mod_fcgid to start my cgi-applications. > I tried to answer my question with fcgid-documentation. But i think the > docs are a little bit spartan ;) > > Is there a possibility to prespawn some apps, for instance php? > i have the problem that some of my users use php (different versions) over > fcgid in their user-context. If the app starts a lot of cpu is consumed by > starting php, after this the parsing of php-file starts. > If i could prespawn this php (maybe 2 or 3 would be enough) i could > distribute cpu-load and result of parsed php-file could provided much > faster. > Are there some recommend settings for different sizes of webservers? > How are your experiences? >
personally i find simply reposting an unanswered question offending. you could have at least included some more information, like: how many requests do you serve? you write 'if the app starts' - do you mean 'when'? how many instances of php are you running? do they all start when the server restarts? do you have a load balancer in front of the setup? what do you mean when you say 'faster'? (1 second - 1 minute - 1msec) be more specific in what constitutes your problem. what you my find disturbing may in fact be a feature to somebody else! and we cant read your mind... (yet) please, also read: http://catb.org/%7Eesr/faqs/smart-questions.html wget is a good start for a nice little prespawn script ;) kind regards Thilo > Thanks > Andre ------------------------------------------------------------------------- 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