From 604bc80be021bdbcddd7c65e21a2215314f6e9d6 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 13 Jul 2020 10:04:50 +0100 Subject: [PATCH] Adjust apache tuning for forum and piwik --- roles/forum.rb | 7 ++----- roles/piwik.rb | 3 +-- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/roles/forum.rb b/roles/forum.rb index 3b62fe5aa..3d8d36e2b 100644 --- a/roles/forum.rb +++ b/roles/forum.rb @@ -5,11 +5,8 @@ default_attributes( :apache => { :timeout => 60, :keepalive => false, - :prefork => { - :start_servers => 20, - :min_spare_servers => 20, - :max_spare_servers => 50, - :max_request_workers => 256 + :worker => { + :max_request_workers => 250 } } ) diff --git a/roles/piwik.rb b/roles/piwik.rb index e0bc6b96e..0bb8fc5f4 100644 --- a/roles/piwik.rb +++ b/roles/piwik.rb @@ -3,8 +3,7 @@ description "Role applied to all Piwik servers" default_attributes( :apache => { - :prefork => { - :server_limit => 450, + :worker => { :max_request_workers => 450 } }, -- 2.39.5