Switch to another URL for mirrormanager haproxy check

The haproxy check URL for the MirrorManager web frontend was a URL
which resulted in a large DB query. Every proxy, every minute. This
resulted in two much memory and CPU consumption. This switches the
check to a small static file to reduce the load on mm-frontend01.
This commit is contained in:
Adrian Reber 2015-05-20 12:13:49 +00:00
parent 77668348c0
commit 900552f038
2 changed files with 2 additions and 2 deletions

View file

@ -75,7 +75,7 @@ listen voting 0.0.0.0:10007
listen mirrormanager 0.0.0.0:10008
balance hdr(appserver)
server mm-frontend01 mm-frontend01:80 check inter 60s rise 2 fall 3
option httpchk GET /mirrormanager
option httpchk GET /mirrormanager/static/mirrormanager2.css
listen bodhi 0.0.0.0:10009
balance hdr(appserver)

View file

@ -65,7 +65,7 @@ listen voting 0.0.0.0:10007
listen mirrormanager 0.0.0.0:10008
balance hdr(appserver)
server mm-frontend01 mm-frontend01:80 check inter 60s rise 2 fall 3
option httpchk GET /mirrormanager/
option httpchk GET /mirrormanager/static/mirrormanager2.css
listen bodhi 0.0.0.0:10009
balance hdr(appserver)