Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET appDomainResourceMonitoring Counters Returning No Data

I have configured ASP.NET app domain resource monitoring as per this blog post:

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

Everything seems to be as expected, except that I get no data for the following counters (via 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)

(They always show 0.0, even though all the other counters in \ASP.NET Application\ work).

Anyone run into this before?

like image 683
Martin Suchanek Avatar asked Dec 03 '25 03:12

Martin Suchanek


1 Answers

You have to add appDomainResourceMonitoring parameter not only to C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet.config, but to the C:\Windows\Microsoft.NET\Framework64\v4.0.30319 as well. It helped me: enter image description here

like image 80
Artem Koshelev Avatar answered Dec 04 '25 20:12

Artem Koshelev