Hello Prabhakaran, here are some ideas to solve your idling issue.
- Check your App Service Plan - Ensure that your App Service Plan is configured correctly and has enough resources to handle your application’s workload. Sometimes, scaling up the plan can help prevent the service from going idle.
- Always On setting - Make sure the "Always On" setting is enabled for your app service. This setting keeps the app running even when there are no HTTP requests, which can prevent it from going idle.
- Health checks - Implement health checks to ensure your service is running correctly. Azure app services can automatically restart your app if it fails a health check.
- Logging and monitoring - Enable logging and monitoring to track the performance and behavior of your application. This can help you identify any issues that might be causing the service to go idle.
- Container restart policies - Check your Docker container’s restart policies. Ensure that it is set to restart on failure or always, which can help keep your service running.
- Idle timeout setting - Review the idle timeout settings for your App Service. Adjusting these settings can help prevent the service from going idle too quickly.
If the issue still persists, you would want to open a support ticket with Microsoft directly.
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.