部署后,网站太慢,大多数时候返回错误 [英] After deploy the website is too slow and most of the time returning errors

查看:76
本文介绍了部署后,网站太慢,大多数时候返回错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,

希望这是正确的论坛.

Hope this is the correct forum.

我们在Azure上有一个Web应用程序,位置在印度中部.我们非常频繁地部署更新.几乎每周两次.在每个部署站点变慢并返回500超时之后..但是一段时间后,它可以正常工作.

We have a web application on Azure, location is Central India. We deploy updates very frequently . .almost twice a week. After every deploy site gets slow and returns 500 timeout ..but after some time it works fine..

但是,如果持续缓慢,部署失败并显示错误-.>

But .. 3 days back after deploy the site if continuously slow, down and showing errors ->

有时它会显示"无法访问此网站 >",有时是" 503" "," 500请求超时 >"等等..也有Redis超时.

Some times it shows "This site can't be reached", some time "503 unavailable", "500 Request Timeout" etc .. also getting redis timeout.

Azure Central India是否存在任何问题..试图解决该问题,但无法跟踪任何原因.

Is there any issue in Azure Central India .. tried to troubleshoot the issue but not able to track any reason.

请指导并分享建议.

推荐答案

zure提供托管网站的几种方法:Azure App Service,虚拟 机器,服务结构和云服务.为了突出显示您创建云服务时的优势,Azure将其分配给 cloudapp.net 的子域.而Azure WebApps分配了一个子域 azurewebsites.net .可以确认您是否将网站托管在 Azure云服务 Azure WebApps 还是托管在Azure VM上?

Azure offers several ways to host web sites: Azure App Service, Virtual Machines, Service Fabric, and Cloud Services. Just to highlight when you create a Cloud Service, Azure assigns it to a subdomain of cloudapp.net. Whereas Azure WebApps, assigns a subdomain of azurewebsites.net. Could to confirm if you hosted your website on Azure Cloud Service or Azure WebApps or hosted on an Azure VM?

有关更多信息,请参阅文档: 比较

Refer documentation for more information: comparison on this topic.

首先, 您可以查看 资源健康 <跨度>报告:

To start with, you could review the Service Health and Resource Health report:

服务运行状况: 服务问题视图显示了影响您的Azure服务中的所有持续存在的问题资源.您可以了解问题何时开始以及哪些服务和地区 受到影响.您还可以阅读最新更新,以了解Azure正在解决此问题.

Service Health: Service issues view shows any ongoing problems in Azure services that are impacting your resources. You can understand when the issue began, and what services and regions are impacted. You can also read the most recent update to understand what Azure is doing to resolve the issue.

资源健康:

Resource health: helps you diagnose and get support when an Azure issue impacts your resources. It informs you about the current and past health of your resources and helps you mitigate issues. Resource health provides technical support when you need help with Azure service issues.

Azure Status: 
https://azure.microsoft.com/status/history/

如果它是Azure WebApp,您可以从以下内容开始:

If it’s Azure WebApps, you may start with the following:

首先,您可以查看 获取有关此问题的更多详细信息.确保启用了始终开启功能.

Firstly, you may review the App Service diagnostics to fetch more details on this issue. Ensure that the Always ON feature is enabled.

此外,请查看文档 了解详细步骤.

Additionally, checkout the documentation Troubleshoot HTTP errors of "502 bad gateway" and "503 service unavailable" in your Azure web apps for a detailed steps.


这篇关于部署后,网站太慢,大多数时候返回错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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