Azure Linux Web App Restarting Sporadically

Phoenix Chua 0 Reputation points
2023-12-14T03:14:27.8933333+00:00

Hi,

I have a linux azure app service that seems to be restarting itself every 1-2 weeks and I am wondering if there is anything I can do to prevent that from happening.

  • My site has Always On enabled.
  • There are no errors in the Applicatiom Logs whenever a restart occurs.
  • I have Health Check disabled and Scale Out disabled as well as the app is running a stateful background service which there should be only one instance of. These restarts are causing my background service to lose its current progress as well, which is why I'd like them to stop happening.
  • The restarts do appear in the Web App restarted (see attached image), but I am unable to tell why they are happening.

Is there a way I can tell what is causing the restarts? Thanks for any help!

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,478 questions
{count} votes

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.