X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/dc404c6f1e199f83036550c72ff09bcca8776c30..d5a19814fd4cf9e7cb0dab8daab6cc98b6c46651:/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 } } )