From e5381943b44e72f57fe9a59829641704eee28824 Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Mon, 6 Jul 2015 17:00:16 +0200 Subject: [PATCH] Revert "Revert "small number of apaches on popcon host"" This reverts commit bf307e7702505ca016fdb25fef4c1d34a6f6f84f. The host goes crazy with too many apache and popcon processes eating all memory. --- modules/apache2/templates/mpm_worker.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/apache2/templates/mpm_worker.erb b/modules/apache2/templates/mpm_worker.erb index 9a0a2d3f..95259984 100644 --- a/modules/apache2/templates/mpm_worker.erb +++ b/modules/apache2/templates/mpm_worker.erb @@ -23,7 +23,9 @@ # MaxConnectionsPerChild 0 -<% if scope.function_has_role(['bugs_base']) -%> +<% if scope.function_has_role(['bugs_base']) or + scope.function_has_role(['popcon']) + -%> StartServers 2 MinSpareThreads 25 MaxSpareThreads 75 -- 2.39.2