apache: Add option to set the MaxClients directive
This commit is contained in:
parent
a509469be1
commit
85a37f8624
4 changed files with 11 additions and 7 deletions
|
@ -104,8 +104,8 @@ KeepAliveTimeout 15
|
|||
StartServers 8
|
||||
MinSpareServers 5
|
||||
MaxSpareServers 20
|
||||
ServerLimit 256
|
||||
MaxClients 256
|
||||
ServerLimit <%= @apache_maxclients %>
|
||||
MaxClients <%= @apache_maxclients %>
|
||||
MaxRequestsPerChild 4000
|
||||
</IfModule>
|
||||
|
||||
|
|
|
@ -103,8 +103,8 @@ KeepAliveTimeout 15
|
|||
StartServers 8
|
||||
MinSpareServers 5
|
||||
MaxSpareServers 20
|
||||
ServerLimit 256
|
||||
MaxClients 256
|
||||
ServerLimit <%= @apache_maxclients %>
|
||||
MaxClients <%= @apache_maxclients %>
|
||||
MaxRequestsPerChild 4000
|
||||
</IfModule>
|
||||
|
||||
|
|
|
@ -103,8 +103,8 @@ KeepAliveTimeout 15
|
|||
StartServers 8
|
||||
MinSpareServers 5
|
||||
MaxSpareServers 20
|
||||
ServerLimit 256
|
||||
MaxClients 256
|
||||
ServerLimit <%= @apache_maxclients %>
|
||||
MaxClients <%= @apache_maxclients %>
|
||||
MaxRequestsPerChild 4000
|
||||
</IfModule>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue