Java, Netty, TCP and UDP connection integration : No buffer space available for UDP connection

后端 未结 1 1011
失恋的感觉
失恋的感觉 2020-12-12 06:46

I have application which uses both TCP and UDP protocols. Main assumption is that the client connects to server via TCP protocol and when connection is established, UDP data

相关标签:
1条回答
  • 2020-12-12 07:08

    If your server is Windows Server 2008 (R2 or R2 SP1), this problem is likely described and solved by this stackoverflow answer which refers to Microsoft KB article #2577795

    This issue occurs because of a race condition in the Ancillary Function Driver for WinSock (Afd.sys) that causes sockets to be leaked. With time, the issue that is described in the "Symptoms" section occurs if all available socket resources are exhausted.


    If your server is Windows Server 2003, this problem is likely described and solved by this stackoverflow answer which refers to Microsoft KB article #196271

    The default maximum number of ephemeral TCP ports is 5000 in the products that are included in the "Applies to" section. A new parameter has been added in these products. To increase the maximum number of ephemeral ports, follow these steps...

    ...which basically means that you have run out of ephemeral ports.

    0 讨论(0)
提交回复
热议问题