coren has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/85112


Change subject: Varnish: reduce minimum number of threads to 250
......................................................................

Varnish: reduce minimum number of threads to 250

So that the minimum isn't above the maximum when there is
only one CPU on the instance where it is deployed.

Change-Id: I7e74143eae8dd906c715f5c51697aa83c9380232
---
M modules/varnish/templates/varnish-default.erb
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/12/85112/1

diff --git a/modules/varnish/templates/varnish-default.erb 
b/modules/varnish/templates/varnish-default.erb
index d1162cb..74611f7 100644
--- a/modules/varnish/templates/varnish-default.erb
+++ b/modules/varnish/templates/varnish-default.erb
@@ -67,7 +67,9 @@
        
 #
 # # The minimum number of worker threads to start
-VARNISH_MIN_THREADS=<%= 1000 / 2 %>
+# XXX: Maximum decreased so that this config does not break
+#      if there is a single CPU -- marc
+VARNISH_MIN_THREADS=<%= 500 / 2 %>
 #
 # # The Maximum number of worker threads to start
 VARNISH_MAX_THREADS=<%= @processorcount.to_i * 500 / 2 %>

-- 
To view, visit https://gerrit.wikimedia.org/r/85112
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7e74143eae8dd906c715f5c51697aa83c9380232
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: coren <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to