套接字泄漏在netstat和tcpview中未显示的Windows中 [英] Sockets leaked in windows not shown in netstat and tcpview

查看:101
本文介绍了套接字泄漏在netstat和tcpview中未显示的Windows中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows是否可能会泄漏套接字连接,而这些套接字未在tcpview和netstat中显示?

Is it possible that windows leaks sockets connection and these sockets are not shown in tcpview and netstat?

运行一些执行许多网络连接的应用程序后,我的Windows机器进入无法打开任何新套接字连接的状态.甚至本身(本地主机). 例如,由于Windows无法创建新的套接字,因此无法远程登录到本地应用程序. 关闭并重新启动网络应用程序无济于事.只有完整的Windows重新启动才能解决此问题.

After running a few applications that perform many network connections, my windows machine enters a state in whitch it in not able to open any new socket connection. Even to itself (localhosts). For example, telnet to a local application failed because windows can't create new sockets. Closing and restarting the network applications does not helps. Only full windows restart solves the problem.

netstat(& tcpview)表示只有几十个连接.

netstat (& tcpview) indicates that there are only some dozens of connections.

感谢您的帮助.

推荐答案

否,这些应用程序不可能丢失泄漏的连接.发生了其他事情.也许您没有查看它们的详细视图,例如查看处于TIME_WAIT状态的关闭的套接字.如果您无法打开新的套接字连接,则很可能会遇到端口耗尽.等待一些时间,以使端口超时并再次变得可用.或者首先停止浪费端口.

No, it is not possible for those apps to miss leaked connections. Something else is going on. Maybe you are not looking at their detailed views, like seeing closed sockets that are in TIME_WAIT state. If you cannot open new socket connections, you mostly likely are encountering port exhaustion. Wait some time for ports to time out and become available again. Or stop wasting ports in the first place.

这篇关于套接字泄漏在netstat和tcpview中未显示的Windows中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆