Hi. I encounter a problem when using haproxy. Can you give me some advice?
Here is the problem:
There are many connections with high send-q state. 457/(8701/2) is almost 10%.
This only happens between haproxy and clients.
ubuntu@ip-172-31-19-218:/var/log$ sudo netstat -apn|grep haproxy|awk '{if($3>0)
print $0}'|wc -l; sudo netstat -apn|grep haproxy|wc -l
457
8701
My haproxy config:
ubuntu@ip-172-31-19-218:/var/log$ cat /etc/haproxy/haproxy.cfg
global
daemon
maxconn 200000
log 127.0.0.1 local0
defaults
maxconn 200000
timeout connect 5000
timeout client 300000
timeout server 300000
listen bingo
bind *:8235
mode tcp
option tcplog
log global
balance roundrobin
default_backend nodes
backend nodes
server s11 172.31.20.23:8237
.......