default[:apache][:prefork][:start_servers] = 5
default[:apache][:prefork][:min_spare_servers] = 5
default[:apache][:prefork][:max_spare_servers] = 10
-default[:apache][:prefork][:max_clients] = 150
+default[:apache][:prefork][:max_request_workers] = 150
default[:apache][:prefork][:max_requests_per_child] = 0
default[:apache][:worker][:start_servers] = 2
default[:apache][:worker][:max_spare_threads] = 75
default[:apache][:worker][:thread_limit] = 64
default[:apache][:worker][:threads_per_child] = 25
-default[:apache][:worker][:max_clients] = 150
+default[:apache][:worker][:max_request_workers] = 150
default[:apache][:worker][:max_requests_per_child] = 0
default[:apache][:event][:start_servers] = 2
-default[:apache][:event][:max_clients] = 150
+default[:apache][:event][:max_request_workers] = 150
default[:apache][:event][:min_spare_threads] = 25
default[:apache][:event][:max_spare_threads] = 75
default[:apache][:event][:thread_limit] = 64
<% end -%>
MinSpareServers <%= node[:apache][:prefork][:min_spare_servers] %>
MaxSpareServers <%= node[:apache][:prefork][:max_spare_servers] %>
-MaxClients <%= node[:apache][:prefork][:max_clients] %>
+MaxRequestWorkers <%= node[:apache][:prefork][:max_request_workers] %>
MaxRequestsPerChild <%= node[:apache][:prefork][:max_requests_per_child] %>
<% end -%>
<% if node[:apache][:mpm] == "worker" -%>
MaxSpareThreads <%= node[:apache][:worker][:max_spare_threads] %>
ThreadLimit <%= node[:apache][:worker][:thread_limit] %>
ThreadsPerChild <%= node[:apache][:worker][:threads_per_child] %>
-MaxClients <%= node[:apache][:worker][:max_clients] %>
+MaxRequestWorkers <%= node[:apache][:worker][:max_request_workers] %>
MaxRequestsPerChild <%= node[:apache][:worker][:max_requests_per_child] %>
<% end -%>
<% if node[:apache][:mpm] == "event" -%>
MaxSpareThreads <%= node[:apache][:event][:max_spare_threads] %>
ThreadLimit <%= node[:apache][:event][:thread_limit] %>
ThreadsPerChild <%= node[:apache][:event][:threads_per_child] %>
-MaxClients <%= node[:apache][:event][:max_clients] %>
+MaxRequestWorkers <%= node[:apache][:event][:max_request_workers] %>
MaxRequestsPerChild <%= node[:apache][:event][:max_requests_per_child] %>
<% end -%>
:timeout => 30,
:event => {
:server_limit => 32,
- :max_clients => 800,
+ :max_request_workers => 800,
:threads_per_child => 50,
:max_requests_per_child => 10000
}
:start_servers => 20,
:min_spare_servers => 20,
:max_spare_servers => 50,
- :max_clients => 256
+ :max_request_workers => 256
}
}
)
:keepalive => false,
:event => {
:server_limit => 32,
- :max_clients => 1600,
+ :max_request_workers => 1600,
:threads_per_child => 50
}
},
:keepalive => true,
:event => {
:server_limit => 20,
- :max_clients => 1000,
+ :max_request_workers => 1000,
:threads_per_child => 50,
:max_spare_threads => 525
}
:mpm => "event",
:event => {
:server_limit => 40,
- :max_clients => 1000,
+ :max_request_workers => 1000,
:min_spare_threads => 50,
:max_spare_threads => 150,
:threads_per_child => 50,
:timeout => 60,
:event => {
:server_limit => 60,
- :max_clients => 1200,
+ :max_request_workers => 1200,
:threads_per_child => 20,
:min_spare_threads => 30,
:max_spare_threads => 180,
:mpm => "event",
:event => {
:server_limit => 40,
- :max_clients => 1000,
+ :max_request_workers => 1000,
:min_spare_threads => 50,
:max_spare_threads => 150,
:threads_per_child => 50,
:timeout => 30,
:event => {
:server_limit => 32,
- :max_clients => 800,
+ :max_request_workers => 800,
:threads_per_child => 50,
:max_requests_per_child => 10000
}
:start_servers => 20,
:min_spare_servers => 20,
:max_spare_servers => 50,
- :max_clients => 256
+ :max_request_workers => 256
}
}
)