FBR: up timeouts on kojipkgs varnish

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings.

Due to issues with slow storage recently we have seen kojipkgs spike in
load and be slow to return packages to download. This makes varnish
return a 503 back to the build or compose and causes them to fail.

We are trying to sort out the storage issue, but in the mean time I
would like to increase the timeouts on varnish so it hopefully doesn't
hit this as much.

+1s?

diff --git a/roles/varnish/templates/kojipkgs.vcl.j2
b/roles/varnish/templates/kojipkgs.vcl.j2
index c3f7d51..66a8e9d 100644
--- a/roles/varnish/templates/kojipkgs.vcl.j2
+++ b/roles/varnish/templates/kojipkgs.vcl.j2
@@ -25,10 +25,11 @@ acl purge {
 backend localapache {
   .host = "127.0.0.1";
   .port = "8080";
+  .first_byte_timeout = 60s;
   .probe = {
       .url = "/";
       .interval = 5s;
-      .timeout = 1s;
+      .timeout = 5s;
       .window = 5;
       .threshold = 3; }
 }

kevin

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux