大量连接处于 TIME_WAIT 状态
我的 Windows 服务器上遇到了一些网络问题,并发现(通过使用 NETSTAT)我在 TIME_WAIT 中有超过 90,000 个(!)连接未关闭。
我已经更改了注册表中的 TcpTimedWaitDelay 参数,但显然需要重新启动服务器。 因为它是一个单一的生产数据库服务器,所以我目前买不起。
有什么方法可以终止 TIME_WAIT 连接吗? 还有其他建议吗?
谢谢! 罗伊
I had some networking issues on my Windows server, and find out (by using NETSTAT) that I have more than 90,000 (!) connections in TIME_WAIT which didn't closed.
I've changed the TcpTimedWaitDelay param in registry, but apparently a server restart is needed.
Because it's a single production DB server, I can't afford it at the moment.
Is there any way killing a TIME_WAIT connection?
Any other suggestions?
Thanks!
Roei
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,你不知道。这些表示已关闭的连接,并且其本地端口出于 TCP 安全原因而处于闲置状态。他们每次只会保持这种状态几分钟。等等。
No you don't. These represent connections which have already closed, and whose local port is hanging around for TCP security reasons. They will only be that way for a couple of minutes each. Just wait.