]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
Revert "Revert "small number of apaches on popcon host""
authorJulien Cristau <jcristau@debian.org>
Mon, 6 Jul 2015 15:00:16 +0000 (17:00 +0200)
committerJulien Cristau <jcristau@debian.org>
Mon, 6 Jul 2015 15:00:59 +0000 (17:00 +0200)
This reverts commit bf307e7702505ca016fdb25fef4c1d34a6f6f84f.

The host goes crazy with too many apache and popcon processes eating all
memory.

modules/apache2/templates/mpm_worker.erb

index 9a0a2d3fe32e14e4207363d08792c7551b71c815..952599841ac5f1a305b550981897ab64ed266e8c 100644 (file)
@@ -23,7 +23,9 @@
 #    MaxConnectionsPerChild    0
 
 <IfModule mpm_worker_module>
-<% 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