简体   繁体   English

如何为ASP.NET应用程序监视与远程计算机的连接数?

[英]How to monitor number of connections to a remote computer for ASP.NET application?

I am trying to solve non deterministic hangouts in AST.NET application. 我正在尝试解决AST.NET应用程序中的不确定性环聊。 I have a sneaking suspicion that maxconnection limit is reached. 我暗中怀疑达到了maxconnection限制

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? 是否有性能计数器或诸如ThreadPool.GetAvailableThreads方法来监视与远程计算机的同时连接数?

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? 但是,它不算在.Net调用中打开的套接字连接吗?

You can use Fiddler for monitoring http connections or TCPView For monitoring all the connection of the computer. 您可以使用Fiddler监视http连接,也可以使用TCPView监视计算机的所有连接。

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. 您可能没有用完计算机上的连接,但是网络中某处的路由器将阻止建立新的连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何允许远程连接到我的.net应用程序? - How to allow remote connections to my .net application? 尝试监视许多远程MySQL连接 - Trying to monitor a number of remote MySQL connections 如何使用asp.net从远程计算机检索MAC地址 - How to retrieve MAC address from remote computer using asp.net ASP.NET MVC应用程序,本地主机正在运行,远程计算机返回“处理您的请求时发生错误”。 - ASP.NET MVC application, localhost working, remote computer returning “An error occurred while processing your request.” 如何在ASP.net中监视和限制QueueBackgroundWorkItem线程的数量? - How do I monitor and limit the number of QueueBackgroundWorkItem threads in ASP.net? ASP.NET MVC / LINQ-检索表和连接数 - ASP.NET MVC/LINQ - retrieving tables and number of connections 如何使用 ASP.NET 和 C# 管理大量 TCP 连接 - How to manage large number of TCP connections using ASP.NET and C# 如何调试ASP.NET 2.0 Web服务应用程序中的泄漏连接? - How to debug leaking connections in an ASP.NET 2.0 Web Services application? 如何在ASP.NET上找出max_user_connections | MySQL应用程序? - How can i figure out a max_user_connections on ASP.NET | MySql application? 如何在另一台计算机上运行我的asp.net Web应用程序以及我的SQL数据库 - How to run my asp.net web application on another computer along with my SQL database
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM