debugging - IIS crashes when serving an ASP.NET application under heavy load. How to troubleshoot it? -
i working on asp.net web application, seems working when try debug in visual studio. when emulate heavy load, iis crashes without trace -- log entry in system journal generic, "the world wide web publishing service terminated unexpectedly. has done 4 time(s)." how possible more information iis troubleshoot problem?
download debugging tools windows: http://www.microsoft.com/whdc/devtools/debugging/default.mspx
debugging tools windows has has script (adplus) allows create dumps when process crashes: http://support.microsoft.com/kb/286350
the command should (if using iis6):
cscript adplus.vbs -crash -pn w3wp.exe
this command attach debugger worker process. when crash occurs generate dump (a *.dmp file).
you can open in windbg (also included in debugging tools windows). file > open crash dump...
by default, windbg show (next command line) thread process crashed.
the first thing need in windbg load .net framework extensions:
.loadby sos mscorwks
then, display managed callstack:
!clrstack
if thread not running managed code, you'll need check native stack:
kpn 200
this should give ideas. continue troubleshooting recommend read following article:
Comments
Post a Comment