Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I have a web application build in ASP and is hosted on IIS7 windows server 2008. Each day CPU level increases and the application stops responding (ASP pages don't load for ever, however an HTML page can be loaded at the same time, same Application pool without a problem.) Then have to restart the Application pool.

I want to find out which specific pages are requested which made the CPU level go that high.

share|improve this question

migrated from stackoverflow.com Sep 11 '11 at 3:07

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 0 down vote accepted

Turn on time-taken column in your site logs if it's not.
Log Fields Documentation
And query requests using MS Log Parser
e.g.(action tooks more than 3 seconds)

logparser.exe "SELECT cs-uri-stem AS turtle_requests FROM <yoursite.dtd> Where time-taken > 3000" -o:DATAGRID

You can query grouping, counting etc.
Some Sample Queries

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.