[zeromq-dev] Client port in TIME_WAIT tcp state

steven tang yeowtang at yahoo.com.au
Wed Mar 18 13:20:44 CET 2015


We use REP-REQ socket pattern over TCP transport. Upon client disconnection, the port stays in TIME_WAIT tcp state, waiting for its lifetime timeout to occur. This is a problem when there are high volume of rapid REQ connections within the timeout period and cause port exhaustion.
Is there a way to transition from TIME_WAIT state so that port is available to reuse once client has disconnected?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150318/80c3257c/attachment.htm>


More information about the zeromq-dev mailing list