iis – Perfmon:哪个计数器标识线程正在等待?
|
在对ASP.NET应用程序进行负载测试时,我们发现这些页面在高负载下需要20-30秒. 我们怀疑这是因为页面正在等待数据库调用或Web服务. 是否有一个特定的perfmon计数器可以识别Web服务器上的这种瓶颈? CPU,内存和磁盘都正常. 或者我们必须使用perfmon以外的工具来追踪这个瓶颈吗? 解决方法如果您怀疑特定应用程序或服务导致内存泄漏,请使用以下计数器调查应用程序的内存使用情况:MemoryAvailable Bytes reports available bytes; its value tends to fall during a memory leak. MemoryCommitted Bytes reports the private bytes committed to processes; its value tends to rise during a memory leak. ProcessPrivate Bytes reports bytes allocated exclusively for a specific process; its value tends to rise for a leaking process. ProcessWorking Set reports the shared and private bytes allocated to a process; its value tends to rise for a leaking process. ProcessPage Faults/sec reports the total number of faults (hard and soft faults) caused by a process; its value tends to rise for a leaking process. ProcessPage File Bytes reports the size of the paging file; its value tends to rise during a memory leak. ProcessHandle Count reports the number of handles that an application opened for objects it creates. Handles are used by programs to identify resources they must access. The value of this counter tends to rise during a memory leak; however,you cannot rule out a leak simply because this counter's value is stable. 内存泄漏和非分页池 虽然任何泄漏都很严重,但当涉及非分页池时,内存泄漏尤其令人担忧.许多系统服务从非分页池分配内存,因为它们在处理中断时需要引用它,并且当时不能发生页面错误.要确定泄漏是否影响非分页池,请在监视中包括以下计数器: MemoryPool Nonpaged Bytes MemoryPool Nonpaged Allocs ProcessPool Nonpaged Bytes 如何识别: Windows资源工具包包含一个名为LeakyApp.exe的示例程序.该程序具有不断分配越来越多内存的典型故障. (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- 在ASP.NET中生成图像缩略图?
- asp.net-mvc-3 – 为什么两个类,视图模型和域模型?
- asp.net – 在剃刀中等同于End / Response.End?
- 在ASP.NET标记中“使用”等效的命名空间
- Asp.Net(MVC):哪个会话超时是什么?
- 如何在asp.net c#中计算网站访问者数量
- StructureMap和ASP .Net Web API和.Net Framework 4.5
- asp.net – Owin Middleware vs ExceptionHandler vs HttpM
- asp.net-mvc – 传统的ASP.NET Web窗体与MVC
- asp.net-mvc – 在.NET MVC 3中使用REST Web服务
- asp.net – 通过Ajax Post – MVC3更新模型更改视
- asp.net-mvc – MVC3验证 – 需要一个组
- asp.net – 有没有办法知道是否有人为您的网站添
- asp.net – 如何调用一个特定的UpdatePanel加载后
- asp.net-mvc – 如何从强类型视图中隐藏实体框架
- asp.net-mvc – 有一个最佳实践和建议替代会话变
- asp.net – Webforms与MVC.一旦你开始使用MVC ..
- asp.net-mvc – MVC – 如何从get请求获取参数值
- asp.net – 如何获取Page.ClientScript.Register
- IIS虚拟目录和ASP.NET目录路径
