[Freeze Break] Remove app05-08 for pkgdb

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

 



We've been seeing intermittent timeouts with a particular long running pkgdb
url.  In an attempt to narrow down where the problem is coming from we'd
like to remove sending pkgdb requests to app05-app08.  Those are backup app
servers that don't live in phx so the latency for them to talk to the db
server is high.  For this particular page, it takes around 35s to get the
page from app01-04.  It takes 2.5-3.5 minutes (roughly) to get the page from
app05-08.

We somewhat expect that the problem will continue but doing this will allow
us to eliminate the non-phx app servers as the source of the timeout.

Could I get two +1's for the following change?

diff --git a/modules/haproxy/files/haproxy.cfg b/modules/haproxy/files/haproxy.cfg
index b796235..ed45179 100644
--- a/modules/haproxy/files/haproxy.cfg
+++ b/modules/haproxy/files/haproxy.cfg
@@ -65,9 +65,9 @@ listen  pkgdb 0.0.0.0:10003
     server  app2 app2:80 check inter 10s rise 2 fall 3
     server  app3 app3:80 check inter 10s rise 2 fall 3
     server  app4 app4:80 check inter 10s rise 2 fall 3
-    server  app05 app05:80 backup check inter 15s rise 2 fall 3
-    server  app6 app6:80 backup check inter 15s rise 2 fall 3
-    server  app08 app08:80 backup check inter 15s rise 2 fall 3
+#    server  app05 app05:80 backup check inter 15s rise 2 fall 3
+#    server  app6 app6:80 backup check inter 15s rise 2 fall 3
+#    server  app08 app08:80 backup check inter 15s rise 2 fall 3
 #    server  bapp1 bapp1:80 backup check inter 10s rise 2 fall 3
     option  httpchk GET /pkgdb/collections/

-Toshio

Attachment: pgpVWkSrAN1cr.pgp
Description: PGP signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

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

  Powered by Linux