简体   繁体   中英

Azure Linux based web app Restart automatically

I am Running Django Application on an Azure Linux Web App, I have noticed that after a certain point the application restarts. when drilling down the issue, I found that the Container disk or memory is not sufficient. My Image size is around 5-6 gb which is under 15 gb limit. Is there any better way of Deploying Django application ?

As said by @Grace-MacJones-MSFT here , this may be due to Proactive Auto Healing feature.

It is an expansion on the Auto Heal offering. Proactive Auto Heal is a feature designed to setup default auto heal settings for every web app so that if they violate these rules then it will recycle the process.

This feature will monitor the high memory usage and slow response situations and restarts the app when one of these conditions is met.

We can disable this by following the below steps as mentioned in the above link:

Go to the Azure portal--> your Linux Web App--> Settings --> Application Settings--> Under App Settings add “WEBSITE_PROACTIVE_AUTOHEAL_ENABLED” and set to “False.”

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM