Best way to profile a live website in IIS7?

Code profiling for .NET Developers

Moderators: Luke Jefferson, StephenC, Alex.Davies, AndrewH, melvyn.harbour, Laura Morley

Best way to profile a live website in IIS7?

Postby Uwe Keim » Tue Jan 03, 2012 7:00 pm

Currently I'm experiencing every now and then 100% CPU usage of w3wp.exe for a certain application pool.

Looking at various performance counters, I'm still unable to determine the real cause, since I cannot determine in which part of my code the high CPU utilization takes place.

What I now can imagine is to install ANTS Profiler on my productive server and let it run several hours to get some meaningful logs.

My question is:

- Is this a good way to find these kind of issues?
- Any suggestions on what I plan to do?
- Is it possible at all?

Thanks
Uwe
Uwe Keim
 
Posts: 32
Joined: Tue Mar 21, 2006 11:57 am
Location: Göppingen, south of Germany

Postby dene.boulton » Wed Jan 04, 2012 10:25 am

Hello Uwe,

If you are willing there is nothing to stop you from running ANTS Performance Profiler 6.x (APP) on your production server for a few hours.
If you have a test server then this is the recommended deployment environment for the application, but of course that depends on if the performance problems are also present there - from your post I am assuming not.

Profiling in a continuous/live environment is a task we are currently exploring for future releases of APP and we are in the middle of running an Early Access Program (EAP) for APP 7 that incorporates the beginning of this continuous profiling functionality. This is achieved within a separate Web UI.

We are recommending the deployment of the EAP to be on a development/test environment; in this case this is due to the tool being in the earlier stages of development, and we are still exploring the feasibility of deploying it in particular setups.
The current functionality of the EAP's Continuous Profiler does not allow you to filter via Application Pools yet (though of course this is planned).

The EAP can be found at: http://help.red-gate.com/help/ANTSPerfo ... d_eap.html
The setup documentation can be found here: http://downloads.red-gate.com/HelpPDF/A ... tarted.pdf
The current supported browsers for the Continuous Profiling Web UI are Internet Explorer 9, Firefox and Chrome.
Dene Boulton
Red Gate
dene.boulton
 
Posts: 53
Joined: Wed Oct 12, 2011 12:44 pm
Location: Cambridge

Postby Uwe Keim » Wed Jan 04, 2012 10:34 am

Thanks a lot Dene for your kind reply!

I'll give the EAP a try, sounds great.

Uwe
Uwe Keim
 
Posts: 32
Joined: Tue Mar 21, 2006 11:57 am
Location: Göppingen, south of Germany

Postby dene.boulton » Wed Jan 04, 2012 10:50 am

Another thing I should point out is that the current functionality of the EAP's Continuous Profiler only shows Wall-Clock time - again this is just due to these being the very first EAP builds. CPU Time will appear in future builds as the tool is further developed.
Dene Boulton
Red Gate
dene.boulton
 
Posts: 53
Joined: Wed Oct 12, 2011 12:44 pm
Location: Cambridge

Postby dene.boulton » Thu Jan 05, 2012 12:51 pm

Good Morning,

Just to point out that a new build, 7.0.0.803, is now available. Coincidentally the previous EAP builds (7.0.0.802) Timebomb will of expired yesterday.
Dene Boulton
Red Gate
dene.boulton
 
Posts: 53
Joined: Wed Oct 12, 2011 12:44 pm
Location: Cambridge

Postby Uwe Keim » Thu Jan 05, 2012 12:55 pm

Thanks, Dene!
Uwe Keim
 
Posts: 32
Joined: Tue Mar 21, 2006 11:57 am
Location: Göppingen, south of Germany


Return to ANTS Performance Profiler 6

Who is online

Users browsing this forum: No registered users and 0 guests

cron