To provide further clarification, I came to these conculsions using the
following method:

 * On the test web server, I ran top, filtered by the user running php

 * I created a simple php test file in the test server's web directory with:

 <?php
 sleep(5);
 ?>

 * I used Apache's benchmark tool with the following arguments:

   ab -c 5 -n 5 http://test-server/test.php

   I observed that 5 processes appeared in top.

 * I set the FcgidMaxProcessesPerClass directive to 3, first in
   /etc/apache2/fcgid.conf, and then in
   /etc/apache2/sites-enabled/00-default, and then in both place. After
   each change, I reloaded apache (all processes in top were
   terminated), and then I re-ran the benchmark command and observed the
   number of processes that appeared in top. When the number of
   processes was 3, I concluded it was working as expected. When the
   number was 5, I concluded that it wasn't working properly.


Attachment: signature.asc
Description: Digital signature

Reply via email to