mod_fcgid ignoring both scores and process count

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux