Elukey has uploaded a new change for review.

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

Change subject: Raise the Varnishkafka maximum timeout for incomplete records 
to 1500
......................................................................

Raise the Varnishkafka maximum timeout for incomplete records to 1500

Background: during the upload migration to Varnish 4 we discovered
occurrences of the VSL store overflow error, namely more than 1000
(default) incomplete log transactions waiting for a End tag.
We raised the 1000 limit to 5000, but now occurrences of the VSL
timeout issue appeared again. The store overflow errors were
probably hiding them triggering beforehand.

Change-Id: Ie289e1ee7d3538b5a7d2bc4f538deb4d216a0bcd
---
M modules/role/manifests/cache/kafka/webrequest.pp
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/83/307483/1

diff --git a/modules/role/manifests/cache/kafka/webrequest.pp 
b/modules/role/manifests/cache/kafka/webrequest.pp
index f4c6007..0afd740 100644
--- a/modules/role/manifests/cache/kafka/webrequest.pp
+++ b/modules/role/manifests/cache/kafka/webrequest.pp
@@ -44,9 +44,13 @@
         # A change in the -T timeout value has the side effect of keeping more
         # incomplete transactions in memory for each varnishkafka query (in 
our case
         # it directly corresponds to a varnishkafka instance running).
+        # 'T':
+        # Raised the maximum timeout for incomplete records from '700' to 
'1500'
+        # after setting the -L to '5000'. VSL timeouts were masked
+        # by VSL store overflow errors.
         $varnish_opts = {
             'q' => 'ReqMethod ne "PURGE" and not Timestamp:Pipe and not 
ReqHeader:Upgrade ~ "[wW]ebsocket"',
-            'T' => '700',
+            'T' => '1500',
             'L' => '5000'
         }
         $conf_template = 'varnishkafka/varnishkafka_v4.conf.erb'

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

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

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

Reply via email to