How-To (Certificate Manager-Self-Hosted): Troubleshoot IIS slowness or high CPU usage
151
Created On 11/12/26 15:36 PM - Last Modified 11/12/26 16:28 PM
Objective
This article covers how to troubleshoot slow response times from IIS and high CPU usage from IIS app pools.
Environment
TPP/TLSPDC TLSPDC
Procedure
- Remote into the target application server that is having issues.
- Open IIS > Click the server name on the left-hand side > Worker Processes.
- Here we can see which Application Pools are running and the percentage of CPU usage.
- You can also double-click on the specific application pool you are interested in to view any pending requests that may be queued up.
- We can determine what the requests are doing depending on the "State" column. For example:
- SendResponse: This state means the request has completed and IIS is transmitting the response headers and body back to the client. If requests spend a long time in SendResponse, it typically indicates network latency or slow client connection.
- ExecuteRequestHandler: This state indicates the request has passed authentication and is currently waiting on the application to finish executing. If many requests pile up in this state, it usually means there is backend code latency, slow database queries, or downstream API locks.
- If you notice a high volume of traffic from one IP or an unexpected IP, consider blocking that IP and investigate the type of requests and implement throttling to prevent excess requests.
- We can also use Performance Monitor tool to check HTTP request statistics.
- Open a Run window > perfmon > OK.
- Click the green Plus button > Select "Local computer" > Select "HTTP Service Request Queues" > Select the target IIS apps pools > Add > OK.
- Change the graph type to "Report".
- Using this graph, we can see CPU utilization, the number of inbound requests, rejected requests, current queue size, and more for each IIS app pool per second.
- ArrivalRate: The number of inbound requests per second.
- CurrentQueueSize: The current queue size at that second.
- RejectedRequests: This shows the count of rejected requests and could indicate the IIS queue is getting maxed out.
- Open a Run window > perfmon > OK.
- Log files to check:
- IIS site logs: (C:\inetpub\logs\LogFiles).
- HTTP error logs: (C:\Windows\System32\LogFiles\HTTPERR).
- Failed request tracing (This must be enabled in IIS settings): (C:\inetpub\logs\FailedReqLogFiles).
- IIS site logs: (C:\inetpub\logs\LogFiles).
- If you are noticing system resource issues, please refer to our official documentation for System Requirements:
- If it is still unknown why the app pools are responding slowly, you can collect memory dumps to examine what the process is stuck on. See this guide: How-To (Certificate Manager-Self-Hosted): Create a memory dump file using Task Manager
- Process complete.