X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/dc404c6f1e199f83036550c72ff09bcca8776c30..52010fab3720d37d9c4838eb0d5190ab127f9353:/roles/planet.rb diff --git a/roles/planet.rb b/roles/planet.rb index 8ee1ce9e9..6c765845b 100644 --- a/roles/planet.rb +++ b/roles/planet.rb @@ -31,13 +31,20 @@ default_attributes( } } }, + :networking => { + :firewall => { + :http_connection_limit => 10 + } + }, :apache => { - :mpm => "event", + :mpm => "worker", :keepalive => true, - :event => { + :worker => { :server_limit => 20, - :max_clients => 1000, - :threads_per_child => 50 + :max_request_workers => 1000, + :threads_per_child => 50, + :min_spare_threads => 75, + :max_spare_threads => 525 } } )