开发者

Server Socket hangs in Close_Wait

开发者 https://www.devze.com 2023-02-28 17:59 出处:网络
The scenario is the following: I am sending bulk of data to clients from my C# Server Application. All of a sudden Data flow stopped, No data Update in Client Side and the port gets blocked.

The scenario is the following:

I am sending bulk of data to clients from my C# Server Application.

All of a sudden Data flow stopped, No data Update in Client Side and the port gets blocked.

When this occurs, the Server side symptoms are

  1. Close_Wait in that port (netstat)
  2. Operation Would block (Error code : 135) in Log.
  3. Unable to make a new Connection from client.
  4. Telnet Fails to that Port

Currently we restart the server whenever the issue arise. Obviously this is not a solution.

Can someone offer a solution for Server socket stuck in Close_Wait in windows server 2008? Any suggestion for this scenario would be appreciated gratefully.

Thanks in Ad开发者_StackOverflow社区vance.


CLOSE_WAIT means the peer has closed the connection and TCP is waiting for the local application to close the socket.

So close it.

0

精彩评论

暂无评论...
验证码 换一张
取 消