X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/21958591555b0b80370e944e3128ac5d533c281d..09cfac55ffc48a8877e46184ff43f9213678eb78:/roles/planet.rb diff --git a/roles/planet.rb b/roles/planet.rb index d68bdabc3..7afcd2662 100644 --- a/roles/planet.rb +++ b/roles/planet.rb @@ -2,15 +2,6 @@ name "planet" description "Role applied to all planet servers" default_attributes( - :accounts => { - :users => { - :bretth => { :status => :user }, - :planet => { - :status => :administrator, - :members => [:bretth] - } - } - }, :rsyncd => { :modules => { :planet => { @@ -31,18 +22,27 @@ default_attributes( } } }, + :networking => { + :firewall => { + :http_connection_limit => 10 + } + }, :apache => { :mpm => "event", :keepalive => true, :event => { :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, + :listen_cores_buckets_ratio => 4 } } ) run_list( + "role[web-db]", "recipe[planet]", "recipe[planet::replication]", "recipe[nfs::server]",