From 999bb719868d83e42b0795dd5faa35f6af5e46aa Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 27 Oct 2016 21:46:09 +0100 Subject: [PATCH] Tune apache on tile servers to avoid repeated up/down scaling --- roles/tile.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/tile.rb b/roles/tile.rb index 26cd98e58..00aa1f82a 100644 --- a/roles/tile.rb +++ b/roles/tile.rb @@ -18,8 +18,9 @@ default_attributes( :max_request_workers => 1200, :threads_per_child => 20, :min_spare_threads => 30, - :max_spare_threads => 180, - :max_connections_per_child => 100000 + :max_spare_threads => 540, + :max_connections_per_child => 100000, + :async_request_worker_factor => 4 } }, :munin => { -- 2.43.2