Yeap, I'm aware of net.ipv4.tcp_tw_reuse and the need of TIME_WAIT state,
but still if there is a way to send a RST /either configuration or compile
parameter/ the connection will be destroyed.


2011/11/28 James Bardin <[email protected]>

> On Mon, Nov 28, 2011 at 11:50 AM, Daniel Rankov <[email protected]>
> wrote:
>  And on
> > loaded server this will cause trouble. Isn't there a chance for HAProxy
> to
> > send RST, so that conneciton will be dropped ?
>
> An RST packet won't make the TIME_WAIT socket disappear. It's part if
> the TCP protocol, and a socket will sit in that state for 2 minutes
> after closing.
>
>
> You can put `net.ipv4.tcp_tw_reuse = 1` in your sysctl.conf to allow
> sockets in TIME_WAIT to be reused is needed.
>
> -jim
>

Reply via email to