Article ID: 919791 - Last Review: September 15, 2006 - Revision: 1.2 How to use the Debug Diagnostics Tool to troubleshoot high CPU usage by a process in IISOn This PageSUMMARYThis article describes how to use the Debug Diagnostics Tool to troubleshoot high CPU usage by a process in Microsoft Internet Information Services (IIS). INTRODUCTIONHigh CPU usage by a process in IIS occurs when an IIS process uses 80 percent or more of the available CPU cycles for a constant time interval. Examples of an IIS process are Inetinfo.exe, Dllhost.exe, and W3wp.exe. When high CPU usage by an IIS process occurs, you experience one or more of the following symptoms:
MORE INFORMATIONIf an IIS process uses a high percentage of available CPU cycles, we recommend that you create a full memory dump file of the IIS process when IIS processes client requests. You can use the Debug Diagnostics Tool to capture and to analyze memory dump files when IIS processes client requests. Note The Debug Diagnostics Tool 1.0 is included with the IIS Diagnostics Toolkit. Step 1: Download and then install the Debug Diagnostics ToolTo download and then install the Debug Diagnostics Tool, visit the following Microsoft Web site:http://www.microsoft.com/downloadS/details.aspx?FamilyID=28bd5941-c458-46f1-b24d-f60151d875a3&displaylang=en
(http://www.microsoft.com/downloadS/details.aspx?FamilyID=28bd5941-c458-46f1-b24d-f60151d875a3&displaylang=en)
Step 2: Configure Performance Monitor loggingTo configure Performance Monitor logging, follow these steps:
Step 3: Disable Debug Exception CatchingNote If you are configuring the Debug Diagnostics Tool to use the tool with IIS 6.0, go to "Step 4: Create a dump file."If you are configuring the Debug Diagnostics Tool to use the tool with IIS 5.1 or with IIS 5.0, disable Debug Exception Catching. To do this, follow these steps:
Step 4: Create a dump fileTo create a dump file, use one of the following methods.Method 1: Create a hang ruleTo create a hang rule, follow these steps:
Method 2: Create an IIS Hang Dump file manuallyTo create an IIS Hang Dump file manually, follow these steps:
Method 3: Create a user dump file for a process in the Debug Diagnostics ToolTo create a user dump file for a process, follow these steps:
Step 5: Disable Performance Monitor loggingApproximately two minutes after the user dump file capture process is finished, disable Performance Monitor logging. To do this, follow these steps:
Step 6: Analyze the dump fileTo analyze the dump file, follow these steps:
REFERENCESFor more information about how to use IIS, visit the following Microsoft Web site: http://www.iis.net
(http://www.iis.net)
To view Microsoft Developer Network (MSDN) Web casts about how to handle issues with IIS, visit the following MSDN Web sites:How to troubleshoot situations where IIS does not respond http://go.microsoft.com/fwlink/?LinkId=40968 (http://go.microsoft.com/fwlink/?LinkId=40968) How to diagnose memory leaks in IIS http://go.microsoft.com/fwlink/?LinkId=40969 (http://go.microsoft.com/fwlink/?LinkId=40969) How to diagnose situations where IIS closes unexpectedly
For more information about how to use the Debug Diagnostics tool to troubleshoot issues with an IIS process, click the following article numbers to view the articles in the Microsoft Knowledge Base:
http://go.microsoft.com/fwlink/?LinkId=40967 (http://go.microsoft.com/fwlink/?LinkId=40967) 919792
(http://support.microsoft.com/kb/919792/
)
How to use the Debug Diagnostics tool to troubleshoot a process that has stopped responding in IIS
919790
(http://support.microsoft.com/kb/919790/
)
How to use the IIS Debug Diagnostics tool to troubleshoot a memory leak in an IIS process
919789
(http://support.microsoft.com/kb/919789/
)
How to use the Debug Diagnostics tool to troubleshoot an IIS process that stops unexpectedly
| Article Translations
|
Back to the top
