Enabling Debugging for Application Pool Failures

Applies To: Windows Server 2003, Windows Server 2003 with SP1

Debugging a specific worker process that is serving an application pool helps you build high-availability applications. By default, debugging is disabled in IIS 6.0. When you enable debugging, the WWW service stops managing worker processes that fail to respond to a ping in the specified time period. Rather than terminating the application when a process fails to respond to a ping, IIS executes an action such as a process dump or an e-mail notification to alert you to the problem. You can then review the application to identify the cause of the failure.

Note

Enable debugging on an application pool only if the application pool continues to fail to respond to pings. The unhealthy process that is left running will continue to consume system resources until the process is terminated by the administrator or until IIS causes it to self-terminate. If you enable debugging, be sure to terminate the worker process after the debugging action is finished.

For more information about how to enable debugging, see Debug Application Pool Failures, or see the OrphanWorkerProcess Metabase Property, OrphanActionExe Metabase Property, and OrphanActionParams Metabase Property.