在Azure上缩减后网站不可用 [英] Website unavailable after scaling down on Azure

查看:51
本文介绍了在Azure上缩减后网站不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天,我在Azure应用服务上发布的Web应用经历了一些奇怪的事情.我正在执行"S3 Standard"应用程序服务计划,并且由于大型VM没有得到充分利用,因此希望缩小到"S2 Standard".切换到S3后,我的网站立即不可用.

I experienced something weird today with my web app published on Azure App Services. I'm running on a "S3 Standard" app service plan and wanted to scale down to "S2 Standard" since the large VM isn't fully utilized. After switching to S3, my website where immediately unavailable.

我以前曾对网站进行过扩展,没有任何问题,我只是在另一个帐户上进行了测试,没有出现类似的错误.我知道这里有些疯狂,但是有人遇到过类似的事情吗?

I have scaled websites before without any problems and I just tested this on another account without similar errors. I know that it's kind of a wild shot here, but did anyone experience something similar?

更新:我尝试再次按比例缩小.它给出了502分钟的信号,但随后一切正常进行.

UPDATE: I tried scaling down again. It gave a 502 for a couple of minutes, but then everything worked as it should.

推荐答案

我们知道,不同的App Service计划层具有不同的计算资源和功能.例如,S3 Standard具有4 Core和7GB RAM,但是S2 Standard具有2 Core和3.5GB RAM.您说缩小了App Service计划层后,该网站将不可用,但是如果您重置为S3 Standard,它将再次运行.请确保Azure网站是否已达到资源配额限制,并检查当前应用程序服务计划的CPU百分比和内存百分比是否很高.

As we know, different App Service plan tiers have different compute resources and features. For example, S3 Standard has 4 Core and 7GB RAM, but S2 Standard has 2 Core and 3.5GB RAM. You said the web site will be unavailable after you scale down App Service plan tier, but it works again if you reset to S3 Standard. Please make sure whether Azure Website has reached a resource quota limit and check whether CPU Percentage and Memory Percentage of your current App Service plan are very high.

这篇关于在Azure上缩减后网站不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆