Web Debug

Fix broken web applications, from servers to clients.

Collect IIS high CPU dump with procdump

1. Download procdump from http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx
2. Create a folder for saving the dumps like c:\dumps
3. Start a command prompt and switch to the procdump folder.
4. Run the command in command line (Generate 3 dumps if CPU is above 80% for more than 20 seconds)
procdump -c 80 -s 20 -n 3 -ma -o {PID of the high cpu w3wp process} c:\dumps

Note:
1. If application pool recycles, w3wp process stops (crash or auto stop due to idle), need to rerun the command when the process starts again
2. User session cannot logout
3. !runaway information may lost from dumps, work around http://forum.sysinternals.com/procdump-12-and-runaway_topic19909.html

Fork me on GitHub