w3wp.exe is taking up 99% of CPU usage. Could anyone please help me with best ways to investigate the cause of this high CPU usage.
|
feedback
|
migrated from stackoverflow.com Sep 3 '09 at 1:34
This question came from our site for professional and enthusiast programmers.
|
Attach WinDbg + sos and run | |||||||||||||
feedback
|
|
Other suggestion of tools is DebugDiag, see more here | |||
feedback
|
|
If you are suspecting that a certain request takes too long, you could can use the Logparser command line utility to analyze your logfiles and find which page has a long execution time.
You could also use a tool to show which pages are currently executing, like IISPeek (not free). If you want to go deeper, try to understand hwo to use WinDbg. Here is a good tutorial: Windows Debuggers: Part 1: A WinDbg Tutorial | |||
|
feedback
|
|
I've had this problem intermittently before. It seems to spike to 99% after the first request and never comes down. If I kill the process the new worker process usually behaves correctly. I've never figured out why this happens. | |||
|
feedback
|
|
We're having the same issue Greg notes above. We're just killing those processes. Didn't observe this on IIS6/windows server 2003, only on IIS7/windows server 2008. | |||
|
feedback
|
