How to investigate 99% CPU usage by w3wp.exe

cpu usageiis

w3wp.exe is showing 99% CPU usage. What are the best ways to investigate the cause of this high CPU usage?

Best Answer

Attach WinDbg + sos and run !runaway. That will show you which thread is taking the most CPU time. Do a !clrstack on the thread to find out what it is doing.

Related Question