Aucune connexion TIME_WAIT, pourquoi?
Question
Si je sysctl tw_reuse = 0 et tw_recycle = 0, et netstat ne signale aucune connexion TIME_WAIT, cela signifie ...? Il est des connexions de réseau local entre deux serveurs, A -> B, A a des connexions TIME_WAIT à B à netstat, mais B à A pas
.La solution
Only the side of the connection that closes the communication can be in TIME_WAIT state, see the relevant UNIX Socket FAQ sequence diagram.
Remember that TCP guarantees all data transmitted will be delivered, if at all possible. When you close a socket, the server goes into a TIME_WAIT state, just to be really really sure that all the data has gone through.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow