Faidon Liambotis has uploaded a new change for review.

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


Change subject: varnish: adjust first_byte_timeout to 180s (text)
......................................................................

varnish: adjust first_byte_timeout to 180s (text)

As ridiculous as 180s sounds, it's what we set PHP's max_execution_time
to and hence we currently throw 503s for requests that timeout on
Varnish but not PHP.

Change-Id: Ic14902d399712a1eb0d2d98ce5f505e6740ef68b
---
M manifests/role/cache.pp
1 file changed, 2 insertions(+), 2 deletions(-)


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

diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp
index 5f050e8..7d2a40d 100644
--- a/manifests/role/cache.pp
+++ b/manifests/role/cache.pp
@@ -614,7 +614,7 @@
                                {
                                        'port' => 80,
                                        'connect_timeout' => "5s",
-                                       'first_byte_timeout' => "30s",
+                                       'first_byte_timeout' => "180s",
                                        'between_bytes_timeout' => "4s",
                                        'max_connections' => 1000,
                                        'weight' => $backend_weight,
@@ -644,7 +644,7 @@
                                {
                                        'port' => 3128,
                                        'connect_timeout' => "5s",
-                                       'first_byte_timeout' => "35s",
+                                       'first_byte_timeout' => "185s",
                                        'between_bytes_timeout' => "2s",
                                        'max_connections' => 100000,
                                        'probe' => "varnish",

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

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

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

Reply via email to