【问题标题】:ASP.NET appDomainResourceMonitoring Counters Returning No DataASP.NET appDomain 资源监视计数器不返回任何数据
【发布时间】:2013-09-16 22:03:13
【问题描述】:

我已经按照这篇博文配置了 ASP.NET 应用程序域资源监控:

http://www.shubho.net/2011/02/performance-monitoring-aspnet.html

一切似乎都如预期的那样,除了我没有得到以下计数器的数据(通过 perfmon):

\ASP.NET Application(__Total)\% Managed Processor Time (estimated)
\ASP.NET Application(__Total)\% Managed Memory Used (estimated)

\ASP.NET Application(_LM_W3SVC_2_ROOT)\% Managed Processor Time (estimated)
\ASP.NET Application(_LM_W3SVC_2_ROOT)\% Managed Memory Used (estimated)

(它们总是显示 0.0,即使 \ASP.NET Application\ 中的所有其他计数器都有效)。

有人遇到过这种情况吗?

【问题讨论】:

  • IIS6、IIS7?我猜是 IIS7,但在问这些类型的问题时你需要非常具体。
  • 这可能是一个显而易见的问题,但实际上您的服务器上是否运行着 ASP.NET 应用程序?
  • 我正在经历同样的事情。你找到原因了吗?
  • @pksorensen 还没有。
  • @Kev IIS7.5。是的,一个应用程序正在“运行”(我正在向它发出请求)。

标签: asp.net performance iis appdomain perfmon


【解决方案1】:

您不仅必须将appDomainResourceMonitoring 参数添加到C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config,还要添加到C:\Windows\Microsoft.NET\Framework64\v4.0.30319。它帮助了我:

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-12-01
    相关资源
    最近更新 更多