Web apps are stopped automatically

Hari Krishnamurthy 0 Reputation points
2023-06-04T06:41:05.54+00:00

Frequent restarts in web apps.

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
838 questions
{count} votes

2 answers

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 14,016 Reputation points MVP
    2023-06-04T13:41:52.74+00:00

    Hello @Hari Krishnamurthy

    check App Service diagnostics - The App Service diagnostics homepage performs a series of configuration checks and offers recommendations based on your unique application's configuration.

    Screenshot 2023-06-04 214006


    If this answers your query, do click Accept Answer and Up-Vote for the same. And, if you have any further query do let us know.

    0 comments No comments

  2. ajkuma 24,566 Reputation points Microsoft Employee
    2023-06-05T18:50:07.5033333+00:00

    @Hari Krishnamurthy ,

    Just following-up on this, hope you had got a chance to see the previous responses. If the answer helped (pointed you in the right direction) > please click Accept Answer.

    As Sunoj mentioned, please check the App Service Diagnostics for pointers to fetch more info on the restart/webapp automatic stop.

    Just adding more info, Azure App Service Web Apps are automatically stopped after a certain period of inactivity.

    If you are experiencing frequent restarts, it could be due to a number of reasons such as:

    • Your WebApp is running on a free or shared tier, which have lower resource limits and are more likely to be stopped due to inactivity.
    • Your WebApp is running on an App Service plan (ASP) that is under heavy load and is being recycled frequently.
    • Your WebApp is experiencing issues that are causing it to crash or become unresponsive.

    -To troubleshoot the issue, you may check the logs for your web app to see if there are any errors or warnings that could be causing the restarts.

    -You may also try scaling up your App Service plan to a higher tier to see if that resolves the issue.

     

    Checkout the log directory/location information -here - Access log files

    Azure Web Apps: “Error 403 – This web app is stopped.”

    0 comments No comments