https://issues.apache.org/bugzilla/show_bug.cgi?id=48110
--- Comment #3 from HWS <[email protected]> 2009-11-04 05:26:37 UTC --- More info re "This could mean that a PHP parent with several children would not be faster than a single PHP process.(I have not really measured this, also don't know whether mod_fastcgi and mod_fcgid act differently in this respect.)" I just compared mod_fastcgi and mod_fcgid using PHP_FCGI_CHILDREN = 1 or 2 in both cases and benchmarking with "ab -n 50 -c 2 http://...." on a multiprocessor SPARC server (Solaris 10). Indeed, with mod_fastcgi, the time was halved for PHP_FCGI_CHILDREN=2, whereas this was not the case with mod_fcgid! Thus, mod_fastcgi is superior in this respect. (On a single-processor machine, this will probably be irrelevant.) Configuration was: FcgidIPCDir /some/dir FcgidProcessTableFile /some/file FcgidIdleTimeout 0 FcgidMaxProcesses 1 FcgidMaxProcessesPerClass 1 FcgidMinProcessesPerClass 1 FcgidInitialEnv PHPRC /some/path FcgidInitialEnv PHP_FCGI_CHILDREN 2 # or 1 or 0 FcgidInitialEnv TZ MET FcgidFixPathinfo 1 -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
