Codice PHP:
# 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.
# ServerLimit: before MaxClients; upper limit of processes a server can hold before memory swaps to disk.
# http://httpd.apache.org/docs/2.2/mod/mpm_common.html#serverlimit
# RAM PHP ServerLimit Practical ServerLimit
# 1G 32M 30 60
# 48M 21 40
# 64M 15 30
# 128M 7 15
# 2G 32M 60 120
# 48M 42 80
# 64M 30 60
# 128M 15 30
# 4G 32M 120 256
# 48M 84 160
# 64M 60 120
# 128M 30 60
# 8G 32M 240 512
# 48M 168 320
# 64M 120 256
# 128M 60 120
# 16G 32M 480 1024
# 48M 336 640
# 64M 240 512
# 128M 120 240
# MaxClients: maximum number of server processes allowed to start; same or less as ServerLimit.
# MaxRequestsPerChild: maximum number of requests a server process serves.
# Example: 4G 64M
<IfModule mpm_prefork_module>
StartServers 60
MinSpareServers 60
MaxSpareServers 60
ServerLimit 64
MaxClients 60
MaxRequestsPerChild 0
</IfModule>