Hi, On Fri, Apr 21, 2017 at 06:01:27PM +0800, jaseywang wrote: > Without CDN, the session rate is around 2k/s, current session is around 120: > current conns = 118; current pipes = 0/0; conn rate = 1938/sec > Running tasks: 2/127; idle = 42 % > > 111.111.111.111 is our haproxy public ip which accept the request from > client > 222.222.222.222 is our benchmark client ip without cdn, if use cdn, the > client ip becomes 61.155.222.157 which is cdn itself > 10.32.144.13 is our haproxy private ip which connect with our internal nginx > 10.32.132.119:80/10.32.132.114:80/10.32.132.116:80 is our nginx server > > Everything works perfect, below is the stats from haproxy and tcp, I > collect the data every 3 seconds during the benchmark. > > # echo "show sess all" | socat stdio unix-connect:/var/run/haproxy.sock
Your "show sess all" output doesn't match the netstat output, I can't find a single port from the netstat output present there. Could you make sure that you run them approximately at the same moment (ie no more than a few seconds apart) so that it's possible to find the CLOSE_WAIT sessions ? BTW, since you tried 1.7.5 as well, better pick its output if possible, it's a bit more detailed. Also, your mailer mangles the output by wrapping lines, so if next time you could attach the dumps instead of pasting them, that would help a lot. Regards, Willy

