From: Grant Slater Date: Tue, 23 Jul 2013 11:42:57 +0000 (+0100) Subject: Tile role: tune apache for mpm worker (max clients etc) X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/e1f2f40ace7f93fc3897ab90000af153976a807d?ds=sidebyside Tile role: tune apache for mpm worker (max clients etc) --- diff --git a/roles/tile.rb b/roles/tile.rb index c9338173a..5abf673e3 100644 --- a/roles/tile.rb +++ b/roles/tile.rb @@ -10,6 +10,18 @@ default_attributes( }, }, }, + :apache => { + :mpm => "worker", + :timeout => 60, + :worker => { + :server_limit => 48, + :max_clients => 1200, + :threads_per_child => 25, + :min_spare_threads => 30, + :max_spare_threads => 180, + :max_requests_per_child => 100000 + } + }, :apt => { :sources => [ "ubuntugis-stable" ] },