I made some performance tests. Best setting for PHP stuff (for me!)
Changed
FcgidMaxProcesses from
8 to
100FcgidProcessLifeTime from
240 to
120FcgidMaxRequestsPerProcess 500 to
10000added
FcgidFixPathinfo 1 That change increased the req/s from
197 to
589Time for the 10k requests went down from 53 secs to 16
Tested on XP SP3 (32bit) Intel Core Duo E7300 @ 2.66GHz 1.93GB RAM
Apache changed settings from default
ThreadsPerChild 500
access log turned off
ab test
ab -c 450 -n 10000
http://127.0.0.1/php/observer.phpBefore I made those changes I noticed that the CPU was often idle even due high server load.
The html test variant are 761 req/s time 13 secs
------ edit -------
The info.lua script
took 27 secs and 366 req/s