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