On Wed, Apr 16, 2014 at 12:46:40AM +0800, k simon wrote: > Hi,Willy, > Does your mean "BUG/MINOR: tcpcheck connect wrong behavior" or " > BUG/MEDIUM: checks: immediately report a connection success" ?
I don't remember, all I can say is that whatever is tagged BUG must be applied. > I have not used tcp-check, just used http-check. Does it have the > same bug? And the out connections to the server farm is about just > 900+, is TW state really a problem ? I have set the portrange from > 12000 to 60000. You must never have timewaits on a client, only on a server. So if on your haproxy box you're seeing timewaits for connections going to the backend servers, there's something wrong. Haproxy deploys great efforts at avoiding them by doing a setsockopt(SO_LINGER) to force the system to close with a reset. If you still get them after upgrading, please run strace on the process so that we find what could be causing them, as it would be abnormal. Regards, Willy