question

brtrach-MSFT avatar image
0 Votes"
brtrach-MSFT asked MichelleBlum-2831 edited

Instances not receiving traffic

Our reporting was showing that our web app has 3 instances running on both an external report and in the Scale Out blade of the App Service. We only had 1 instance taking traffic/requests etc. Why is only 1 instance receiving requests?

azure-webapps
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.

1 Answer

NagasandeepPonduru-7058 avatar image
0 Votes"
NagasandeepPonduru-7058 answered MichelleBlum-2831 edited

Likely the two other instances are unhealthy.
This can happen for a number of reasons such as High CPU / instance resource exhaustion.

To mitigate, you can try to-

  • Scale Out / In, By Scaling Out this will help to check if resource consumption is an issue and assign more resources to your app while also letting additional instances receive traffic for your app again. Then if you believe that your app should be within resource limits, by Scaling Back In the two instances which were causing issue may be replaced.

  • Scale Down / Up, This is another option to try and get new instances allocated for your app. However, note that if scaling to a new tier (i.e. from Standard to Premium) that this may change the IPs of your app.

More information on scaling can be found here.

For the future, consider enabling the Health Check feature, this will ping the instances hosting your app and if a response is not received then removes the instance from rotation: https://docs.microsoft.com/en-us/azure/app-service/monitor-instances-health-check



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.