I'm running a website on IIS 6 (Windows Server 2003) that hangs occasionally.
Timeline:
Released to the wild, website ran fine for 3 days.
Website hangs on every request until the website is stopped and started.
Website runs for 2 weeks with no problem.
Website hangs on every request until site is restarted.
We see a few application log entries before hang starts: Faulting application w3wp.exe, faulting module unknown, version 0.0.0.0 fault address -------.
The application installed on the website is written in .Net 2.0.
Can anyone please guide me on troubleshooting this issue? Thanks!
Your best bet might be to use adplus to capture a memory dump of the hanging w3wp process, and then use windbg + the sos extension to try to determine the cause of the hang.
You can get adplus and Windbg here: http://www.microsoft.com/whdc/devtools/debugging/default.mspx
Also, Tess Ferrandez' blog is an absolute goldmine of information on learning how to analyze memory dumps with Windbg. She even has a set of labs you can go through targeted toward specific scenarios.