BBlack has uploaded a new change for review.

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

Change subject: varnish-backend-restart: increase sleep times
......................................................................

varnish-backend-restart: increase sleep times

We still see very small 503 spikes on most of the cron-automated
restarts, and insufficient sleep is a likely reason why.

Change-Id: Ifebc99a932440dc03650012be528f04b5c03b083
---
M modules/varnish/files/varnish-backend-restart
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/23/311623/1

diff --git a/modules/varnish/files/varnish-backend-restart 
b/modules/varnish/files/varnish-backend-restart
index 4a3f333..31645e0 100644
--- a/modules/varnish/files/varnish-backend-restart
+++ b/modules/varnish/files/varnish-backend-restart
@@ -7,14 +7,14 @@
 confctl --quiet select name=`hostname -f`,service='varnish-be-rand' 
set/pooled=no
 
 # Wait a bit for the services to be drained
-sleep 15
+sleep 30
 
 # Restart varnish and wipe storage
 /usr/sbin/service varnish stop
 rm -f /srv/sd*/varnish*
 /usr/sbin/service varnish start
 
-sleep 5
+sleep 10
 
 # Fix VSM files permissions and restart ganglia
 chmod 644 /var/lib/varnish/*/*.vsm

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifebc99a932440dc03650012be528f04b5c03b083
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: BBlack <bbl...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to