Paas云服务抛出503服务不可用错误 [英] Paas cloud service throwing 503 service unavailable error

查看:141
本文介绍了Paas云服务抛出503服务不可用错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在迁移到Azure 2.9 SDK之后,我们注意到,如果我更新一个软件包文件,则只有一个云服务实例反映了新软件包,而另一个仍然反映了旧软件包. (在停止服务并重新启动该服务后,该问题已解决.此外,我们 能够仅对实例的远程桌面启用远程桌面,其他实例可以启用和下载但无法访问.

after migrating to azure 2.9 sdk we came to notice that, if i update a package file only one instance of cloud service is reflecting new package and the other still reflects old one. (after stopping the service and restarting it issue is resolved. also we are able to enable remote desktop to only of the instance other one can be enabled and downloaded but not accessible.

最近,在对我们的代码进行了某些修改之后,我们看到"503服务不可用".错误(在我们重新启动实例之前一直存在).我们已经观察到cpu百分比接近7%,并不是很高.

Recently after certain modifications in our code we are observing "503 service unavailable" error(remains until we restart the instances). we have observed that cpu percentage is nearly 7% which is not so high.

应用程序池已停止,无法自行重新启动.

Application pool is stopped and not able to restart on its own. 

推荐答案

When your app generates a lot of exceptions in short time, IIS stops application pool and you get 503 error.

我建议您,请按照文档进行设置 应用程序池的故障设置 .

I suggest you, follow the documentation to setup Failure Settings for an Application Pool.

您可以还可以扩展您的Cloud Service并检查是否可以解决您的问题.参考 如何在门户中为Cloud Service配置自动缩放 以获取更多详细信息.

You can also scale up your Cloud Service and check if that resolves your issue. Refer How to configure auto scaling for a Cloud Service in the portal for more details.

您可以要检查 Windows Azure PaaS计算诊断数据 .

You may want to check Windows Azure PaaS Compute Diagnostics Data.

- -------------------------------------------------- --------------------------------------
如果此答案有帮助,请单击标记为答案"或上投票".要提供有关您的论坛体验的其他反馈,请单击 span> .

------------------------------------------------------------------------------------------
If this answer was helpful, click "Mark as Answer" or "Up-Vote". To provide additional feedback on your forum experience, click here.


这篇关于Paas云服务抛出503服务不可用错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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