Azure App Service Unloads during off peak usage hours Memory Working Set goes to 0 bytes

Carlo Mendoza 101 Reputation points
2019-12-10T17:22:50.173+00:00

I have an app service (Azure Mobile App) that I just noticed seems to get unloaded when there are no active clients for a while--typically 5PM to 6AM.

It sometimes takes a few minutes for the service to "come alive" again when the first client of the day requests data, and that's not a good experience for that client.

How do I make sure it remains loaded/kept alive?

This is the Memory working set, Avg graph which is what clued me into thinking it's getting unloaded.

alt text

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,913 questions
0 comments No comments
{count} votes

Accepted answer
  1. Carlo Mendoza 101 Reputation points
    2019-12-10T18:22:41.337+00:00

    I just found out from the Azure Portal to allow "Always On," I need at least Basic

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Bartosz Pelikan 41 Reputation points
    2019-12-10T18:19:15.977+00:00

    This is known as cold start. Have you tried to set Always On on App Settings?

    1 person found this answer helpful.
    0 comments No comments

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.