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