Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why app service restarting, and not able to restart?

it is a tracking app of 24*7. Whenever it stops i use START_REDELIVER_INTENT to restart it, but it is not start every time. It shows below type response in Application manager. Please suggest.

enter image description here

like image 692
Teekam Avatar asked Oct 02 '22 13:10

Teekam


People also ask

How long does it take to restart Azure App Service?

After 90 minutes it will eventually deploy successfully indicating a successful start.

Can we restart app service in Azure?

Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app.


1 Answers

I just discovered that if the service is killed on on 4.1.1, START_REDELIVER_INTENT can take even 20 minutes to restart the service. The restart always coincides with the next dalvikvm garbage collection. Until then the service is stuck on "Restarting" as shown in the question.

However START_STICKY restarts the service within seconds of being terminated.

like image 179
Monstieur Avatar answered Oct 05 '22 12:10

Monstieur