Troubleshoot IIS hangs

slow-moving-websites-sign

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

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

This command logs every request above the 5 seconds.

IIS-debug

This idea came from: https://www.leansentry.com/Guide/IIS-AspNet-Hangs

Author: Thomas Faddegon

Bla bla bla