You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wait for fin_timeout (/proc/sys/net/ipv4/tcp_fin_timeout)
check that the TCP connection is released (netstat -an | grep TIME_WAIT)
Got: tcp 0 0 127.0.0.1:23112 127.0.0.1:8080 TIME_WAIT
The connection TCP hangs in the TIME_WAIT state even when the tcp_fin_timeout is expired.
Expected:
The closed TCP connection should be released immediately without handing in the TIME_WAIT state.
Or at least, it should be released after tcp_fin_timeout.
The TIME_WAIT means that either FIN is not received or it is not handled correclty.
Since we run everything locally, the FIN is likely received, so likely it is something wrong with FIN handling.
The text was updated successfully, but these errors were encountered:
vdmit11
changed the title
backend connections hang in TIME_WAIT state after closing
lb: backend connections hang in TIME_WAIT state after closing
Mar 1, 2015
Scenario:
nc -lp 8080
)/proc/sys/net/ipv4/tcp_fin_timeout
)netstat -an | grep TIME_WAIT
)Got:
tcp 0 0 127.0.0.1:23112 127.0.0.1:8080 TIME_WAIT
The connection TCP hangs in the TIME_WAIT state even when the tcp_fin_timeout is expired.
Expected:
The closed TCP connection should be released immediately without handing in the TIME_WAIT state.
Or at least, it should be released after
tcp_fin_timeout
.The
TIME_WAIT
means that eitherFIN
is not received or it is not handled correclty.Since we run everything locally, the
FIN
is likely received, so likely it is something wrong withFIN
handling.The text was updated successfully, but these errors were encountered: