ASP.NET随机缓慢起伏 [英] ASP.NET random slow downs

查看:115
本文介绍了ASP.NET随机缓慢起伏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在我们的ASP.NET应用程序中遇到随机间歇性缓慢起伏。大多数页面100-500ms之间需要(取决于哪个模块在页面上使用)来呈现。然而,偶尔 - 在100个请求或者1,这些数字更像是5000-10000ms。这不是一个数据库相关的问题 - 我已经检查了查询速度慢,而且是不相关的页面的复杂性 - 例如一个网页,其中需要100毫秒是一样可能发生时它会减慢拿10000ms。我不认为应用程序池是回收或者 - 通常会看到这个任务管理器。难道可能是GC?有任何想法吗?该W3WP应用程序通常是在任何时候都使用的内存800MB稳定到1GB。

We are experiencing random intermittent slow-downs in our ASP.NET application. Most pages take between 100-500ms to render (depending on which modules are used on the page). Occasionally however - perhaps 1 in 100 requests, these figures are more like 5000-10000ms. This is not a database related issue - I have checked for slow queries, and is not related to the complexity of the page - e.g. a page which takes 100ms is just as likely to take 10000ms when it slows down. I don't think the app-pool is recycling either - would normally see this in task manager. Could it possibly be GC? Any ideas? The w3wp application usually uses a steady 800MB-1GB of memory at all times.

谢谢
马库斯

推荐答案

我可以告诉你做的最好的事情就是附加分析器(搜索这个网站有一个良好的.NET探查,我个人使用的蚂蚁)来识别瓶颈。如果没有良好的个人资料数据,我们所有的建议,这里将仅仅是猜测。

The best thing I can tell you to do is to attach a profiler (search this site for a good .NET profiler, I personally use ANTS) to identify bottlenecks. Without good profile data all of our suggestions here will simply be speculation.

这篇关于ASP.NET随机缓慢起伏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆