application pool memory usage monitor

前端 未结 2 1465
日久生厌
日久生厌 2020-12-24 06:48

I have a website in IIS 7 and I need to monitor the memory usage of that website when there are concurrent requests for it. Can you please let me know how can i do this? Is

2条回答
  •  暖寄归人
    2020-12-24 07:18

    To get the 'Managed Memory Used' counter to work on my server I found I had to make an additional change:

    The aspnet.config config file (generally located at C:\Windows\Microsoft.NET\Framework\v4.0.30319, YMMV) needs to be modified to include the appDomainResourceMonitoring element (although there will probably be other stuff there as well):

     
       
         
      
    
    

    There is no need to restart IIS, but you do need to recycle application pool you want to monitor.

    See these two blog posts for more info:

    Performance Monitoring of individual Asp.net Application in Asp.net 4.0

    Asp.Net 4.0: An Overview-Part-III

提交回复
热议问题