projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf307e7
)
Revert "Revert "small number of apaches on popcon host""
author
Julien Cristau
<jcristau@debian.org>
Mon, 6 Jul 2015 15:00:16 +0000
(17:00 +0200)
committer
Julien 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
patch
|
blob
|
history
diff --git
a/modules/apache2/templates/mpm_worker.erb
b/modules/apache2/templates/mpm_worker.erb
index
9a0a2d3
..
9525998
100644
(file)
--- a/
modules/apache2/templates/mpm_worker.erb
+++ b/
modules/apache2/templates/mpm_worker.erb
@@
-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