【Azure App Services】多次操作App Service伸缩实例遇见限制操作记录

简介: 【Azure App Services】多次操作App Service伸缩实例遇见限制操作记录

问题描述

多次操作App Services,进行实例数的变化。达到限制后遇见报错:

错误的具体描述为:

{
   "status": "Failed",
   "error": {
       "code": "Conflict",
       "message": "You have exceeded the maximum amount of scale changes within the past hour(23 changes and limit is 20). Please retry later.",
       "details": [
           {
               "message": "You have exceeded the maximum amount of scale changes within the past hour(23 changes and limit is 20). Please retry later."
           },
           {
               "code": "Conflict"
           }
       ]
   }
}

 

问题解答

根据提示信息,“过去一小时内,您已超出Scale变化最大数量(23 次更改,限制为 20),请稍后重试。” 这个限制的目的是防止短时间内过度更改。

详细请参考以下文档:https://learn.microsoft.com/en-us/troubleshoot/azure/app-service/scaling-web-app-faq#i-m-unable-to-scale-up-scale-down-the-app-service-plan-due-to-the--you-have-exceeded-the-maximum-amount-of-scale-changes-within-the-past-hour--xx-changes-and-limit-is-xx---error--what-should-i-do--

若要避免此问题,请不要执行在一小时内释放超过 XX 个实例的缩放操作。 每次在纵向缩减操作期间释放实例时,该实例都会重新启动,以确保下一个App 服务计划可以获得干净的实例。 连续快速执行过多的缩放操作时,实例重启可能会导致其他应用服务出现性能问题。 因此,我们特意为缩放设置一种限制机制,以防止你快速连续执行超过可接受的限制的缩放操作。

I'm unable to scale up/scale down the App Service Plan due to the "You have exceeded the maximum amount of scale changes within the past hour (XX changes and limit is XX)" error. What should I do?

To avoid this issue, don't perform scaling operations that release more than XX instances in an hour. Every time you release an instance during a scale-down operation, the instance is rebooted to ensure the next App Service Plan can get a clean instance. When you perform too many scaling operations in quick succession, instance reboots can cause performance issues for other App Services. Therefore we intentionally put a throttling mechanism for scaling that prevents you from executing scaling operations more than the acceptable limit in quick succession.

 

 

参考资料

FAQs about scaling web apps in Azure App Service : https://learn.microsoft.com/en-us/troubleshoot/azure/app-service/scaling-web-app-faq

相关文章
|
26天前
【Azure Logic App】使用Event Hub 连接器配置 Active Directory OAuth 认证无法成功连接到中国区Event Hub的解决之法
An exception occurred while retrieving properties for Event Hub: logicapp. Error Message: 'ClientSecretCredential authentication failed: AADSTS90002: Tenant 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' not found. Check to make sure you have the correct tenant ID and are signing into the correct cloud. Che
|
1月前
|
安全
【Azure App Service】App service无法使用的情况分析
App Service集成子网后,如果子网网段中的剩余IP地址非常少的情况下,会在App Service实例升级时( 先加入新实例,然后在移除老实例 )。新加入的实例不能被分配到正确的内网IP地址,无法成功的访问内网资源。 解决方法就是为App Service增加子网地址, 最少需要/26 子网网段地址。
|
2月前
|
开发框架 .NET Windows
【App Service】在App Service中配置Virtual applications and directories,访问目录中的静态文件报错404
【App Service】在App Service中配置Virtual applications and directories,访问目录中的静态文件报错404
|
2月前
|
C++
【Azure Logic App】使用Event Hub 连接器配置 Active Directory OAuth 认证无法成功连接到中国区Event Hub
【Azure Logic App】使用Event Hub 连接器配置 Active Directory OAuth 认证无法成功连接到中国区Event Hub
|
2月前
【Azure Logic App】在逻辑应用中开启或关闭一个工作流是否会对其它工作流产生影响呢?
【Azure Logic App】在逻辑应用中开启或关闭一个工作流是否会对其它工作流产生影响呢?
|
2月前
|
存储 SQL JSON
【Azure Logic App】微软云逻辑应用连接到数据库,执行存储过程并转换执行结果为JSON数据
【Azure Logic App】微软云逻辑应用连接到数据库,执行存储过程并转换执行结果为JSON数据
【Azure Logic App】微软云逻辑应用连接到数据库,执行存储过程并转换执行结果为JSON数据
|
2月前
|
安全 前端开发 网络安全
【Azure App Service】访问App Service应用报错 SSL: WRONG_VERSION_NUMBER
【Azure App Service】访问App Service应用报错 SSL: WRONG_VERSION_NUMBER
|
2月前
|
开发框架 JavaScript 前端开发
【App Service】解决 .NET Profiler 报告打开后无数据加载的问题
【App Service】解决 .NET Profiler 报告打开后无数据加载的问题
|
5天前
|
移动开发 Android开发 数据安全/隐私保护
移动应用与系统的技术演进:从开发到操作系统的全景解析随着智能手机和平板电脑的普及,移动应用(App)已成为人们日常生活中不可或缺的一部分。无论是社交、娱乐、购物还是办公,移动应用都扮演着重要的角色。而支撑这些应用运行的,正是功能强大且复杂的移动操作系统。本文将深入探讨移动应用的开发过程及其背后的操作系统机制,揭示这一领域的技术演进。
本文旨在提供关于移动应用与系统技术的全面概述,涵盖移动应用的开发生命周期、主要移动操作系统的特点以及它们之间的竞争关系。我们将探讨如何高效地开发移动应用,并分析iOS和Android两大主流操作系统的技术优势与局限。同时,本文还将讨论跨平台解决方案的兴起及其对移动开发领域的影响。通过这篇技术性文章,读者将获得对移动应用开发及操作系统深层理解的钥匙。
|
9天前
|
XML 移动开发 前端开发
使用duxapp开发 React Native App 事半功倍
对于Taro的壳子,或者原生React Native,都会存在 `android` `ios`这两个文件夹,而在duxapp中,这些文件夹的内容是自动生成的,那么对于需要在这些文件夹中修改的配置内容,例如包名、版本号、新架构开关等,都通过配置文件的方式配置了,而不需要需修改具体的文件
下一篇
无影云桌面