https://issues.apache.org/bugzilla/show_bug.cgi?id=55556

--- Comment #1 from Yann Ylavic <[email protected]> ---
Even with SO_REUSEADDR, you can't reuse a TIME_WAITing client's IP:port to
connect the same server's IP:port.

On linux, you can do things like "sysctl -w net.ipv4.tcp_tw_recycle=1" to kind
of ignore TIME_WAIT delays, but your network should better not loose/retransmit
packets that could interfere with subsequent connections, that's the purpose of
the TIME_WAIT state, however it can be a temporary setting for the duration of
the bench...

The best option (though more expensive) is to use multiple ab clients on as
much machines or NICs (with "ip route add ... dev NIC").

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to