Hi! As mod_fgid doesn't support request pipeling, it doesn't make sense to use the processmanager provided by php. Php's processmanager can be turned off by setting the DefaultInitEnv PHP_FCGI_CHILDREN directive to 0.
Regards, Szabka Jens Mittag írta: > Hi! > > I am using mod_fcgid and really like it. But I recognized that you can > limit the number of processes in two different ways. First you can use > > MaxProcessCount 50 > DefaultMaxClassProcessCount 5 > > to limit the number of FastCGI processes globally and per class, and > then you can also do it by wrapping the actual CGI through > > #!/bin/sh > PHP_FCGI_CHILDREN=2 > export PHP_FCGI_CHILDREN > PHP_FCGI_MAX_REQUESTS=5000 > export PHP_FCGI_MAX_REQUESTS > exec /usr/bin/php5-cgi -c /var/www/php5-cgi/php.ini > > by using > > FCGIWrapper /var/www/php5-cgi/php5-fcgi .php > > Which way is the intended way? Or are both ways intended? What are the > advantages of each method? > > At the moment I only allow 1 process per class and control the number of > childs in the wrapper-script. This way all my processes are always > running, which is good, because I have several virtual hosts for > different users and each user shall get the same number of processes at > any time. > > Thanks for your comment > Jens > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > 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 2005. 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