Troubleshoot IIS hangs

I’ve created a batch file which¬†find out what was hanging my .NET application.

time /t >>crappy_site_log.txt
%windir%\system32\inetsrv\appcmd list requests /elapsed:5000 >>crappy_site_log.txt
ping -n 4
GOTO loop

This command logs every request above the 5 seconds.


This idea came from:

Author: Thomas Faddegon

Do you like my posts and want to do something back? You can buy me a beer :)