# prefork MPM # StartServers: number of server processes to start # MinSpareServers: minimum number of server processes which are kept spare # MaxSpareServers: maximum number of server processes which are kept spare # MaxRequestWorkers: maximum number of server processes allowed to start # MaxConnectionsPerChild: maximum number of requests a server process serves StartServers 5 MinSpareServers 5 MaxSpareServers 10 # 150 MaxRequestWorkers is way too high. (20 may also be too high.) we don't need that many, and it caused shop.fsf.org to swap and fail. 15 is better. -- sudoman 2017-08-03 # Quidam: Restored to 150, which is below the default and below what the vm can take. the swap issue needs to be reevaluated. The machine was failing to serve requests # sudoman: 150 is wayy too high. apache was using 2 GB ram and 1 GB swap with 130 processes. restarting it with 150 workers caused the ram to be almost used up immediately. 75 is a good compromise. if you want more workers, give the vm more ram. # sudoman: i gave the shop 2 GB more memory, so 150 should be fine. -- 2018-10-04 MaxRequestWorkers 150 MaxConnectionsPerChild 5000 # vim: syntax=apache ts=4 sw=4 sts=4 sr noet