From e1f2f40ace7f93fc3897ab90000af153976a807d Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Tue, 23 Jul 2013 12:42:57 +0100 Subject: [PATCH 1/1] Tile role: tune apache for mpm worker (max clients etc) --- roles/tile.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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" ] }, -- 2.43.2