[英]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? 还有什么需要检查的吗?
From another user response: 来自另一个用户的响应:
You want to add a rule to ignore certain routes.
您要添加规则以忽略某些路由。 See: Asp.Net Routing: How do I ignore multiple wildcard routes?
请参阅: Asp.Net路由:如何忽略多个通配符路由? or http://haacked.com/archive/2008/07/14/make-routing-ignore-requests-for-a-file-extension.aspx
或http://haacked.com/archive/2008/07/14/make-routing-ignore-requests-for-a-file-extension.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.