X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/21958591555b0b80370e944e3128ac5d533c281d..73503fbc76f6e14fa380af8168a5205a39e515c6:/roles/planet.rb diff --git a/roles/planet.rb b/roles/planet.rb index d68bdabc3..6c765845b 100644 --- a/roles/planet.rb +++ b/roles/planet.rb @@ -31,18 +31,26 @@ 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 } } ) run_list( + "role[web-db]", "recipe[planet]", "recipe[planet::replication]", "recipe[nfs::server]",