question

ClasPeterson-9076 avatar image
0 Votes"
ClasPeterson-9076 asked SnehaAgrawal-MSFT commented

Running processes interrupted when deploying Azure App Service

We are moving to Azure and need to get a solution regarding batch jobs vs App Service deployment/restarts.

We have quite a lot of App Services running Ubuntu Linux/PHP. On almost every one, we have batch jobs started by Logic Apps in Azure.
There is also a staging slot to each production slot.

The problem here is that when we are deploying new code (via Pipelines) out to the App Service, the server will get restarted.
That means that if the Logic App has started a long running PHP batch job, the process will get interrupted when we are deploying out to the production server due to the restart. In this case the staging/production slot configuration doesn't help us getting an uninterrupted batch job process since the swap doesn't check for running processes before swapping.

Does anyone have a solution to how we could solve this problem?

Thank you

azure-webapps-content-deploymentazure-app-configuration
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for asking question! Could you please elaborate on your App setting to help you better on this? If you have marked a "deployment slot setting" as this keeps it sticky to that particular deployment slot.

0 Votes 0 ·

Just checking in to see if you have chance to see above response let us know to help you better on this.

0 Votes 0 ·

0 Answers