I am running performance benchmarks with ab2 on my server and I
discovered that fcgid creates much more than FcgidMaxProcessesPerClass.
And if I make 15 concurrent requests fcgi starts 15 php processes at the
same time without worrying about FcgidSpawnScoreUpLimit!

I use mod_fcgid with suexec for php execution (via php-wrapper bash
script, which does a lot of magic including execs, chroot and setuid).

The configuration (for fcgid 2.3.6 on apache 2.2.15):

/etc/apache2/modules.d/20_mod_fcgid.conf:
25: FcgidMinProcessesPerClass 0
26: FcgidMaxProcessesPerClass 10

33: FcgidSpawnScore 10
34: FcgidTerminationScore 20
35: FcgidTimeScore 1
36: FcgidSpawnScoreUpLimit 25

By the way - according to documentation, FcgidMinProcessesPerClass in
VirtualHost section shouldn't work. For me, it does (and I'm happy with
it :)).

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to