Denis Haidash
Denis Haidash

Reputation: 33

Azure autoscaling is not working

Something is going wrong with Azure. Today autoscaling stopped to work:

enter image description here

enter image description here

Maybe anybody knows why it is not working?

Upvotes: 1

Views: 2013

Answers (2)

Krullthor
Krullthor

Reputation: 11

If you look at the Average column in the first image, you'll see that while your CPU% is over 50, the Average over one hour is only at 26.47%

In my experience this is the value that Azure will scale on, not the current CPU%. If after 45 minutes of 1% you suddenly have 99% for 15 minutes, Azure will still not scale.

You can either scale out at lower CPU%, or use Powershell / REST to reduce the 60 minute window over which the average is calculated to something shorter

Upvotes: 0

Rick Rainey
Rick Rainey

Reputation: 11256

From the images you provided, you have exceeded your CPU threshold for a little over 5 minutes. It has been my experience that even with a 5 minute evaluation window, it will still take 15-20 minutes (sometimes more) before you see auto-scale actions occur.

According to the Azure Service Dashboard there are no issues.

So, I would suggest

  1. Check your service again after you have 20 minutes worth of data (visible on the graph) and see if your service has scaled up.

  2. Check the operation logs under Management Services. If there was a failure auto-scaling your service, you would be able to get details there.

Here is a screen-capture reference for #2. Highlight the log you are interested in and click on the Details button at the bottom of your screen.

enter image description here

Upvotes: 1

Related Questions