default[:apache][:prefork][:min_spare_servers] = 5
default[:apache][:prefork][:max_spare_servers] = 10
default[:apache][:prefork][:max_request_workers] = 150
-default[:apache][:prefork][:max_requests_per_child] = 0
+default[:apache][:prefork][:max_connections_per_child] = 0
default[:apache][:worker][:start_servers] = 2
default[:apache][:worker][:min_spare_threads] = 25
default[:apache][:worker][:thread_limit] = 64
default[:apache][:worker][:threads_per_child] = 25
default[:apache][:worker][:max_request_workers] = 150
-default[:apache][:worker][:max_requests_per_child] = 0
+default[:apache][:worker][:max_connections_per_child] = 0
default[:apache][:event][:start_servers] = 2
-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
default[:apache][:event][:threads_per_child] = 25
-default[:apache][:event][:max_requests_per_child] = 0
+default[:apache][:event][:max_request_workers] = 150
+default[:apache][:event][:max_connections_per_child] = 0
default[:apache][:listen_address] = "*"
MinSpareServers <%= node[:apache][:prefork][:min_spare_servers] %>
MaxSpareServers <%= node[:apache][:prefork][:max_spare_servers] %>
MaxRequestWorkers <%= node[:apache][:prefork][:max_request_workers] %>
-MaxRequestsPerChild <%= node[:apache][:prefork][:max_requests_per_child] %>
+MaxConnectionsPerChild <%= node[:apache][:prefork][:max_connections_per_child] %>
<% end -%>
<% if node[:apache][:mpm] == "worker" -%>
ThreadLimit <%= node[:apache][:worker][:thread_limit] %>
ThreadsPerChild <%= node[:apache][:worker][:threads_per_child] %>
MaxRequestWorkers <%= node[:apache][:worker][:max_request_workers] %>
-MaxRequestsPerChild <%= node[:apache][:worker][:max_requests_per_child] %>
+MaxConnectionsPerChild <%= node[:apache][:worker][:max_connections_per_child] %>
<% end -%>
<% if node[:apache][:mpm] == "event" -%>
ThreadLimit <%= node[:apache][:event][:thread_limit] %>
ThreadsPerChild <%= node[:apache][:event][:threads_per_child] %>
MaxRequestWorkers <%= node[:apache][:event][:max_request_workers] %>
-MaxRequestsPerChild <%= node[:apache][:event][:max_requests_per_child] %>
+MaxConnectionsPerChild <%= node[:apache][:event][:max_connections_per_child] %>
<% end -%>
# Default to UTF-8
:server_limit => 32,
:max_request_workers => 800,
:threads_per_child => 50,
- :max_requests_per_child => 10000
+ :max_connections_per_child => 10000
}
},
:apt => {
:apache => {
:mpm => "event",
:event => {
- :max_requests_per_child => 2000
+ :max_connections_per_child => 2000
}
},
:hardware => {
:min_spare_threads => 50,
:max_spare_threads => 150,
:threads_per_child => 50,
- :max_requests_per_child => 10000
+ :max_connections_per_child => 10000
}
},
:taginfo => {
:threads_per_child => 20,
:min_spare_threads => 30,
:max_spare_threads => 180,
- :max_requests_per_child => 100000
+ :max_connections_per_child => 100000
}
},
:munin => {
:apache => {
:mpm => "worker",
:worker => {
- :max_requests_per_child => 10000
+ :max_connections_per_child => 10000
}
},
:logstash => {
:min_spare_threads => 50,
:max_spare_threads => 150,
:threads_per_child => 50,
- :max_requests_per_child => 10000
+ :max_connections_per_child => 10000
}
},
:logstash => {
:server_limit => 32,
:max_request_workers => 800,
:threads_per_child => 50,
- :max_requests_per_child => 10000
+ :max_connections_per_child => 10000
}
}
)