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