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:
parent
77668348c0
commit
900552f038
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue