首页 > 其他分享 >【Azure App Services】多次操作App Service伸缩实例遇见限制操作记录

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

时间:2023-09-25 19:45:26浏览次数:47  
标签:scale Service App scaling 实例 Services changes

问题描述

多次操作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

 

标签:scale,Service,App,scaling,实例,Services,changes
From: https://www.cnblogs.com/lulight/p/17728704.html

相关文章

  • 分发APP通常作用主要包括以下几个方面
    应用分发通常是指将应用程序或软件发布到用户可以访问的平台上,以便用户下载、安装和使用。其作用主要包括以下几个方面:方便用户获取和使用应用程序:通过应用分发,用户可以在各种应用商店、下载平台或官方网站等渠道上方便地搜索、下载、安装和管理各种应用程序,而无需手动从官方网站......
  • Applescript脚本实现全自动无痕检测手机号码是否注册iMessage的原理
    一、检测数据的两种方式:1.人工筛选,将要验证的号码输出到文件中,以逗号分隔。再将文件中的号码粘贴到iMessage客户端的地址栏,iMessage客户端会自动逐个检验该号码是否为iMessage账号,检验速度视网速而定。红色表示不是iMessage账号,蓝色表示iMessage账号。2.编写脚本控制Macos/iphon......
  • 短视频app源码,自动滚动条挡住 div内容
    短视频app源码,自动滚动条挡住div内容<!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><metahttp-equiv="Content-Type"content="text/html;charset=utf......
  • Rust+appium App自动化测试demo
    1.新建工程打开RustCover,新建工程如下:修改Cargo.toml文件如下:[package]name="test_demo"version="0.1.0"edition="2021"#Seemorekeysandtheirdefinitionsathttps://doc.rust-lang.org/cargo/reference/manifest.html[dependencies......
  • 波场(Tron)USDT 合约授权(Approve)以及授权转账(TransferFrom)
    授权(Approve)privatestaticasyncTask<string>ApproveAsync(stringprivateKey,stringspenderAddress,decimalamount){ conststringcontractAddress="TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t";//合约地址 varrecord=TronServiceExtension.GetRecor......
  • OGG报错 INS-85054 in oggca.sh createing a new Service Manager after removing a p
    这个报错主要是ogg的自启动和目录问题DeletethefollowingfilesattheOSlevel:Linux7/etc/systemd/system/OracleGoldenGate.service/etc/oggInst.locLinux6/etc/init.d/OracleGoldenGate/etc/rc.d/*OracleGoldenGate/etc/rc*.d/*OracleGoldenGate/etc/oggInst......
  • Spring扩展接口(1):ApplicationContextInitializer
    在此系列文章中,我总结了Spring扩展接口,以及各个扩展点的使用场景。并整理出一个bean在spring中从被加载到初始化到销毁的所有可扩展点的顺序调用图。这样,我们也可以看到bean是如何一步步加载到spring容器中的。ApplicationContextInitializerorg.springframework.context.App......
  • 什么是 Service Ticket 的 Service Level Agreement
    服务工单(Ticket)的服务级别协议(ServiceLevelAgreement,SLA)是一个重要的概念,特别是在提供技术支持和客户服务的领域中。服务工单是组织内或与客户之间的通信记录,用于跟踪问题、请求或任务的处理。SLA是一种协议或承诺,其中规定了一组指标和参数,以确保服务工单得到适时、高质量的处理......
  • Angular APP_INITIALIZER Injection Token 的使用方法介绍
    import{APP_INITIALIZER}from'@angular/core'这行代码在Angular中的作用是导入名为APP_INITIALIZER的常量,它来自Angular核心模块@angular/core。APP_INITIALIZER是一个重要的Angular特性,它用于执行一系列初始化操作,通常用于配置应用程序之前执行一些必要的任务。......
  • Service mesh 学习02 Istio基础
    一、Istio架构概述1.Pilot提供服务发现和路由规则2.Mixer策略控制:服务调用限流3.citadel安全作用,可以保证服务间的通信安全4.Enovy代理:处理服务的流量二、自动注入sidecar-injector:会修改应用程序的描述信息,注入sidecar描述信息:创建pod的yaml文件三、流量拦截根据iptables路由规......