CPU Spikes and Web App Shutdown Issues

Nilay Shah 0 Reputation points
2025-03-13T01:16:58.9333333+00:00

Twice a day, during peak times, the CPU spikes, causing the web app to shut down and restart.

Additionally, Application Insights is enabled, but it does not display any data regarding this issue.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,507 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Laxman Reddy Revuri 3,265 Reputation points Microsoft External Staff
    2025-03-13T04:54:06.73+00:00

    Hi @Nilay Shah
    Since Application Insights is enabled but not displaying data, it may be because you have used up all the data points for the month. In this case, you may need to upgrade your plan. Besides, look at the configuration of your Application Insights SDK and make sure that there are no telemetry configuration leaks which would stop data from being sent.
    If your application genuinely requires more resources during peak times, consider scaling to a higher service tier to provide the necessary computing power. Application logs and web server logs to gather more information about the shutdown events and CPU usage patterns.
    check the App Service limits
    references:
    Diagnose High CPU issues.
    Troubleshoot no data: Application Insights for .NET and .NET Core
    Troubleshoot slow app performance issues in Azure App Service.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.