简体   繁体   English

我应该在ASP.NET应用程序中检查什么以确保它不会耗尽资源?

[英]What should I check in my ASP.NET application to make sure it won't run out of resources?

We have a website on IIS7 using ASP.NET Routing that seems as though it might be running out of resources. 我们在IIS7上有一个使用ASP.NET路由的网站,好像它可能资源不足。 It just hangs after a few days, there is no error message or apparent crash. 几天后挂起,没有错误消息或明显的崩溃。

We are making sure every .Open command is matched by a .Close command on the database connection. 我们确保在数据库连接上每个.Open命令都与一个.Close命令匹配。 We are doing the same with file Open/Close but there are very few of those. 我们对文件“打开/关闭”也做同样的事情,但是很少。

Is there anything else we should check? 还有什么需要检查的吗?

Try ELMAH 尝试ELMAH

Call me in the morning (:)) 早上打电话给我(:))

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

相关问题 如何在自动化UI测试期间运行ASP.NET应用程序? - How can I make my ASP.NET application run during my automated UI tests? 我应采取哪些措施来保护我的多层ASP.NET应用程序? - What measures should I take to secure my multi-tier ASP.NET application? 如何使用户登录我的ASP.net应用程序? - What should I use to have users log into my ASP.net application? 如何找出我的ASP.Net MVC应用程序运行的用户? - How do I find out what user my ASP.Net MVC application is running as? 为什么我的经典ASP页面不能在ASP.NET应用程序的根目录中运行? - Why won't my classic ASP page run in the root of my ASP.NET app? 为什么我不能在运行时编辑我的ASP.NET Web应用程序? - Why can't I edit my ASP.NET Web application at run time? 我应该在哪里将resource.resx放在ASP.NET Web应用程序中? - Where should I place resources.resx in a ASP.NET web application? 在ASP.Net中,应该在哪里检查SAML SP中的IdP以检查用户是否注销? - In ASP.Net, where should I check the IdP in SAML SP to check if the user Logged out? 如果一个asp.net控件的事件没有绑定,那么我应该检查的是什么,按照可能的原因排序? - If an asp.net control's event's aren't binding, what are the things I should check, in order of likly cause? ASP.net身份-外部登录-无法注销 - ASP.net identity - external login - won't log out
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM