I would like to check on the specifications due to an IIS version upgrade.

umz 0 Reputation points
2023-10-13T06:40:07.6066667+00:00

When we updated our ASP web app from IIS 8.0 to IIS 10.0, the following event occurred.
CPU usage reaches 100% when using the web app, and the usage remains at 100% until W3wp.exe is taskkilled in the task manager

Since we cannot determine the cause, we are thinking of trying the following from Microsft's troubleshooting
https://learn.microsoft.com/ja-jp/troubleshoot/developer/webapps/iis/health-diagnostic-performance/troubleshoot-high-cpu-in-iis- app-pool

The web server is built in a production environment and a test environment, and since this issue does not occur in the test environment, we are planning to investigate by putting the troubleshooting tool in the production environment.
Should we not do this in the production environment where the service is running?

Translated with DeepL

Internet Information Services
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,152 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MotoX80 31,651 Reputation points
    2023-10-14T23:45:38.7366667+00:00

    Is it pure ASP or .Net (ASPX)?

    Have you been able to identify a page that is causing the problem?

    On the server tab, click on Worker Processes, and then right click on the app pool. Select view current requests.

    User's image

    It would look something like this. Is anything running when the cpu hits 100? Monitor your site during the day and see if you have requests that never end.

    User's image

    Are you seeing any errors in the IIS logs or the HTTPERR logs (C:\Windows\System32\LogFiles\HTTPERR)?

    Next I would use Process Monitor to see if w3wp.exe is in a pure loop or if it is trying to access some file or registry entry. Set a filter for "process name is w3wp.exe".

    https://learn.microsoft.com/en-us/sysinternals/downloads/procmon