Article ID: 828222 - View products that this article applies to.
When 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.mspxWindows 64-bit version:
http://www.microsoft.com/whdc/devtools/debugging/install64bit.mspxNote When you install Debugging Tools for Windows, make sure that you save the files to the following directory:
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.
For more information, visit the following Microsoft Developer Network (MSDN) Web sites:
http://msdn2.microsoft.com/en-us/library/ms525365.aspxFor more information about how to debug a worker process that is reported as unhealthy, visit the following Microsoft Web site:
Article ID: 828222 - Last Review: December 3, 2007 - Revision: 8.6