azure - 如何调试 Azure 交换过程(有时会导致站点关闭)

标签 azure debugging logging web-applications

我们有一个非常大的项目正在 Azure 上运行。由于某些原因,最近交换时间变得非常慢,至少需要 10 分钟。

有时在交换过程中,网站会变得 super 慢,就像几分钟内没有响应一样。 其他时候,交换只是由于某种原因而不起作用。

我们正在使用 initializationPage 来预热最具体的页面,但它似乎没有帮助。

问题 是否可以看到交换期间发生了什么?我正在尝试调试为什么它这么慢。有没有任何日志可以让我看到为什么它卡在什么上?

我们无法部署紧急修复而不使整个网站瘫痪。有时整个网站都会瘫痪。

任何调试交换问题的帮助将不胜感激。

更新

我在 Azure 门户的“事件日志”中找到了以下内容,但我仍然找不到任何详细信息或任何提示到底发生了什么。

enter image description here

因此:资源操作已完成,终端配置状态为“失败”。

哪里可以找到详细信息?这真的让我很恼火,我必须购买 Azure 开发人员支持,而我每个月已经花费数百欧元来购买一些看起来有问题或至少无法提供有关问题所在的信息。

最佳答案

So: The resource operation completed with terminal provisioning state 'Failed'.

Where can I find details?

Microsoft 有一些东西可以帮助您。

You can view the operations for a deployment through the Azure portal. You may be most interested in viewing the operations when you have received an error during deployment so this article focuses on viewing operations that have failed. The portal provides an interface that enables you to easily find the errors and determine potential fixes.

使用 Azure 资源管理器查看部署操作”直接来自 Microsoft它有几个步骤需要遵循。请点击以下网址:Microsoft

我希望这会有所帮助。

关于azure - 如何调试 Azure 交换过程(有时会导致站点关闭),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48571581/

相关文章:

android - 如何通过 Eclipse 进入 Android 源文件进行调试

tomcat - 如何抓取Tomcat启动日志

ruby - 如何使用 Aptana Studio 3 和 rbenv 调试 Ruby 脚本?

java - 使用多个窗口使用 Eclipse 进行调试

azure - CSPACK sitePhysicalDirectories 被忽略?

azure - azure 管道 yml 中的嵌套循环

java - 如何在catalina.out中显示上下文的名称?

logging - 如何在 cqrs 上下文中正确处理日志记录?

azure - 使用 Azure PowerShell 进行数据库迁移

多个特定主机的 Azure Blob CORS 设置