Joel
Joel

Reputation: 8988

ASP.NET Core application slow increase in CPU and memory without any requests

I have an ASP.NET Core 3.1 application deployed to an Azure App Service (Windows).

The application has received 0 requests during the past ~48 hours, but the CPU, Memory and Handles are steadily increasing (see image) during this time.

I'm seeing this across multiple different App Services, but they are using some common startup logic, so I'm wondering if something in there is causing this, but I don't know how to debug it.

How can I debug what is going on? What kind of dump should I take or profiler should I use to understand what causes this? Any help would be great! 😊

Increasing CPU, Memory, Handles

Upvotes: 0

Views: 1017

Answers (1)

Ivan Glasenberg
Ivan Glasenberg

Reputation: 30035

To diagnose CPU / Memory, you can try the built-in feature of azure web app(see this doc).

Nav to azure portal -> your azure web app -> in the left panel, click on Diagnose and solve problems -> click on Proactive CPU Monitoring / Momery respectively.

Upvotes: 1

Related Questions