Article ID: 828222 - Last Review: December 3, 2007 - Revision: 8.6 How to generate a dump file when ASP.NET deadlocks in IIS 6.0
On This PageSUMMARYWhen you experience a deadlock in Microsoft Internet Information
Services (IIS) 6.0, a message that resembles the following will appear in
the Application log: Event Type: Warning Event Type: Warning Generate dump files for diagnosisIIS 6.0 has a new feature that is named Orphan Worker Process. This feature lets you inspect a process that is scheduled to be recycled before the process is terminated. The Orphan Worker Process can be used to attach a debugger to the process and to generate a dump file for investigation.Note This feature is not enabled when processes run in IIS 5.0 compatibility mode. Download Debugging Tools for WindowsTo download Debugging Tools for Windows, visit one of the following Microsoft Web sites, as appropriate for your situation:Windows 32-bit version: http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx
(http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx)
Windows 64-bit version:http://www.microsoft.com/whdc/devtools/debugging/install64bit.mspx
(http://www.microsoft.com/whdc/devtools/debugging/install64bit.mspx)
Note When you install Debugging Tools for Windows, make sure that you save the files to the following directory:C:\Debuggers Create a batch file to execute when a worker process is orphaned
Configure the Orphan Worker Process settings
Note If you enable IIS to debug worker processes that are reported as unhealthy, make sure that you monitor these released worker processes. IIS does not automatically remove these worker processes from memory. If you do not correctly handle these worker processes, many failed worker processes may be running on your computer. These worker processes can tie up resources that are needed by other processes. You must end these worker processes quickly to free those resources. In some conditions, these worker processes may block metabase access. This causes problems with other worker processes or with the World Wide Web service itself. REFERENCESFor more information, visit the following Microsoft
Developer Network (MSDN) Web sites: http://msdn2.microsoft.com/en-us/library/ms525365.aspx
(http://msdn2.microsoft.com/en-us/library/ms525365.aspx)
For more information about how to debug a worker process that is reported as unhealthy, visit the following Microsoft Web site:http://msdn2.microsoft.com/en-us/library/ms524472.aspx (http://msdn2.microsoft.com/en-us/library/ms524472.aspx) http://msdn2.microsoft.com/en-us/library/ms525700.aspx (http://msdn2.microsoft.com/en-us/library/ms525700.aspx) http://technet2.microsoft.com/WindowsServer/en/library/37f477fc-c683-438b-ac11-17ad554fd59a1033.mspx?mfr=true
(http://technet2.microsoft.com/WindowsServer/en/library/37f477fc-c683-438b-ac11-17ad554fd59a1033.mspx?mfr=true)
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
