服务器套接字挂在CLOSE_WAIT [英] Server Socket hangs in Close_Wait
问题描述
该场景如下:结果
我从我的C#应用程序服务器发送大量数据的客户结果
突然间的数据流的停止,在没有客户端的数据更新。侧和港口被封锁。
当这种情况发生时,在服务器侧的症状是
<醇>
目前我们重启每当出现问题的服务器。显然,这不是一个解决方案。
有人能提供卡在CLOSE_WAIT在Windows Server 2008服务器插槽的解决方案?
任何建议此方案将衷心感谢。
在此先感谢。
CLOSE_WAIT意味着对已关闭连接和TCP正在等待本地应用程序关闭套接字。
所以关闭它。
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
- Close_Wait in that port (netstat)
- Operation Would block (Error code : 135) in Log.
- Unable to make a new Connection from client.
- 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 Advance.
CLOSE_WAIT means the peer has closed the connection and TCP is waiting for the local application to close the socket.
So close it.
这篇关于服务器套接字挂在CLOSE_WAIT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!