Hello All,
I'm wondering if someone might be able to point me in the direction of
a problem with my HAProxy deployment. Under an ApacheBench load
(40,000 concurrent) the backend stat on HAProxy on average shows
around 22,000 connections whilst each of the three servers in the
cluster is picking up about 6800 each. What is the backend statistic
representing, delay in waiting for a server to open a connection? If
so - what's a likely fix to improve the connection throughput on the
servers?
Two of the servers are running LigHTTPd, and the other is using IIS.
Copy of the stats attached.
Cheers,
Robert.
Title: Statistics Report for HAProxy
Statistics Report for pid 19312
> General process information
|
pid = 19312 (process #1, nbproc = 1)
uptime = 0d 0h12m21s
system limits : memmax = unlimited ; ulimit-n = 1024576
maxsock = 80012
maxconn = 40000 (current conns = 1)
|
| | active UP | | backup UP |
| active UP, going down | | backup UP, going down |
| active DOWN, going up | | backup DOWN, going up |
| active or backup DOWN | | not checked |
Note: UP with load-balancing disabled is reported as "NOLB". | Display option: | External ressources: |
| rps-test | |
| Queue | Sessions | Bytes | Denied | Errors | Warnings | Server |
| Cur | Max | Limit | Cur | Max | Limit | Total | LbTot | In | Out | Req | Resp | Req | Conn | Resp | Retr | Redis | Status | Wght | Act | Bck | Chk | Dwn | Dwntme | Thrtle |
|---|
| Frontend | | 1 | 40000 | 40000 | 2021677 | | 159667713 | 646632537 | 0 | 0 | 847 | | | | | OPEN | |
| Web1 | 0 | 0 | - | 0 | 9724 | - | 660835 | 660835 | 52208287 | 196930630 | | 0 | | 0 | 0 |
0 | | no check | 35 | Y | - | | - |
| Web2 | 0 | 0 | - | 0 | 11130 | - | 742301 | 742301 | 58646681 | 221209498 | | 0 | | 0 | 0 |
0 | | no check | 40 | Y | - | | - |
| Web3 | 0 | 0 | - | 0 | 11476 | - | 617666 | 617653 | 48797425 | 228188744 | | 0 | | 0 | 0 |
13 | | no check | 41 | Y | - | | - |
| Backend | 0 | 0 | | 0 | 32330 | 40000 | 2020789 | 2020789 | 159667713 | 646632537 | 0 | 0 | | 0 | 0 |
13 | 0 | 12m21s UP | 116 | 3 | 0 | | 0 | 0s | |