Application Gateway is sending calls to server with high CPU

Akash Samal 46 Reputation points
2020-03-10T13:53:43.753+00:00

Hi There,

While configuring high availability for my application, we came across a situation where due to session affinity enabled one server was receiving all the traffic from the same private network and others do not.

The Machine which was receiving all the calls, went into high CPU state. Still receiving calls from new users of the same private network.

Is there any way to come over this situation. Possible solutions may be:

  1. If any server goes in high CPU, that should degrade automatically
  2. new users from the same private network should be sent a better healthy server.
  3. Disabling Session affinity would might help

Can you please let us know the best suitable solution here.

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
954 questions
0 comments No comments
{count} votes

Accepted answer
  1. TravisCragg-MSFT 5,676 Reputation points Microsoft Employee
    2020-03-11T03:38:18.087+00:00

    Azure Application Gateways use Health Probes to check on the status of the backend pools. Unfortunately this does not monitor the CPU usage of the VMs, but only the TCP or HTTP connectivity. This is difficult for a high CPU situation, as the TCP / HTTP connectivity will be delayed, but often still responsive in the given timeout.

    Requests are distributed in a Round Robin algorithm, so if all of your backends are healthy, they should all have been receiving equal requests. If this was not the case, then there is an issue with your backend pool.

    You can also look into Monitoring your backend health & diagnostics for Application Gateways to help look into what happened / is happening.


0 additional answers

Sort by: Most helpful