X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/d6577fc4c50eae4f698f176a8bc1b53996241627..cb9f81fdeab911a4f7b4682465c9489ebff3cf17:/roles/planet.rb?ds=sidebyside diff --git a/roles/planet.rb b/roles/planet.rb index 4c2045388..6c765845b 100644 --- a/roles/planet.rb +++ b/roles/planet.rb @@ -6,8 +6,8 @@ default_attributes( :users => { :bretth => { :status => :user }, :planet => { - :status => :role, - :members => [ :bretth ] + :status => :administrator, + :members => [:bretth] } } }, @@ -22,27 +22,35 @@ default_attributes( :uid => "nobody", :gid => "nogroup", :transfer_logging => false, - :exclude => [ ".*" ], + :exclude => [".*"], :max_connections => 10, :ignore_errors => true, :ignore_nonreadable => true, :timeout => 3600, - :refuse_options => [ "checksum" ] + :refuse_options => ["checksum"] } } }, + :networking => { + :firewall => { + :http_connection_limit => 10 + } + }, :apache => { - :mpm => "event", - :keepalive => false, - :event => { + :mpm => "worker", + :keepalive => true, + :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]",