应用程序池诊断
我继承了一台运行 IIS 7.5 的服务器(我不是服务器管理员,而是 IS 中的某个人,但他们不太了解 IIS 7.5)该网站是用 ASP.NET MVC 2 编码的;它在启动时运行非常慢。完全启动大约需要 1-2 分钟。是否有诊断工具可以查看导致瓶颈的原因,例如在应用程序启动时运行的跟踪功能以记录信息以及每个进程启动需要多长时间?
我有一种感觉,由于数据库结构不佳,导致一些 LINQ 代码写得不好,我想对其进行诊断,看看这是否确实是问题所在,或者是否有其他原因导致应用程序重新启动缓慢。
I have inherited a server running IIS 7.5 (I am not the server admin but someone in IS but they don't know IIS 7.5 very well) the website is coded in ASP.NET MVC 2; it is running really slow at start up. It takes about 1-2 minutes to fully launch. Is there a diagnostic tool to see what is causing the bottlenecks like a trace function that runs while the application is starting up to log the information and how long it takes each process to boot?
I have a feeling it's some poorly written LINQ code due to poor database structure, which I want to diagnose to see if that really is the problem or if there is something else causing the slow app restart.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看一下 ASP.NET 迷你分析器:
http://code.google.com /p/mvc-mini-profiler/
Take a look at the ASP.NET mini profiler:
http://code.google.com/p/mvc-mini-profiler/