如何监控 ASP.NET 应用程序到远程计算机的连接数?
我正在尝试解决 AST.NET 应用程序中的不确定性问题。我偷偷怀疑 达到最大连接限制。
所以我的问题是如何验证我的怀疑?是否有任何性能计数器或类似 ThreadPool.GetAvailableThreads 之类的方法来监视远程计算机的同时连接数?
另外“同时连接数”是什么意思?据我了解,它是每个应用程序域的计数。但是,它是否计算 .Net 调用中打开的套接字连接?
I am trying to solve non deterministic hangouts in AST.NET application. I have a sneaking suspicion that maxconnection limit is reached.
So my question is how can I verify my suspicion? Is there any performance counter or any method like ThreadPool.GetAvailableThreads
to monitor number of simultaneous connections to a remote computer?
Also what does the "number of simultaneous connections" means? As I understand it's count per application domain. However doest it counts socket connection opened in .Net calls?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 Fiddler 来监视 http 连接或 TCPView 用于监控计算机的所有连接。
恐怕没有计算可用连接的功能,因为它确实依赖于整个网络基础设施。您的计算机上的连接可能不会耗尽,但网络中某处的路由器将阻止建立新连接。
You can use Fiddler for monitoring http connections or TCPView For monitoring all the connection of the computer.
I am afraid there is no function for counting available connections, because it does depend on whole network infrastructure. You probably does not run out of connections on your computer, but router somewhere in the network will prevent establishing new connections.