We are running HAProxy to direct mysql traffic from PHP to a set of mysql servers. However, due to an issue with the way the mysql-client sends TCP packets, we get a ton of connections in TIME_WAIT with concurrent port utilization at 50k+, and end up with SOCKERR messages on HAProxy due to port exhaustion under extremely heavy load as described here - http://blog.haproxy.com/2012/12/12/haproxy-hig