我的网站反应缓慢 [英] My website have slowly response

查看:58
本文介绍了我的网站反应缓慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

自2019年3月1日以来,我的网站响应缓慢,连接数据库丢失(PHP索引页上的错误),并且在蔚蓝的仪表板上有时状态为500

My website have slowly response , connection DB lost (error on PHP index page) and sometime status have 500 in azure dashboard since 03-01-2019

推荐答案

嗨kamornpisit siriworathun,

Hi kamornpisit siriworathun,

此问题可能是由不同的问题引起的,例如:
•网络请求需要很长时间
•应用程序代码或数据库查询效率低下
•使用高内存/CPU的应用程序
•应用程序由于异常而崩溃

因此,一些其他详细信息将有助于正确识别问题的根本原因.在此问题之前进行了任何更改吗?听起来直到上周一切都运转良好.您的网站和数据库位于同一个资源组中吗?地点? 您是否已经将始终打开"设置为打开"?为您的网络应用程序?您是否为网站启用了诊断程序?如果尚未启用它,则可以按照此

This problem can be caused by different issues like:
• network requests taking a long time
• application code or database queries being inefficient
• application using high memory/CPU
• application crashing due to an exception

So some additional details would be helpful in correctly identify the core cause of the problem. Did make any changes prior to this issue? It sounds like everything was running well until last week. Is your website and DB in the same resource group & location? Do you already have "Always On" set to "On" for your web app? Do you have diagnostics enabled for your website? If you haven't yet enabled it, you can do so by following the steps in this documentation. After enabling it, turn on failed request tracing- it provides detailed information on failed requests, including a trace of the IIS components used to process the request and the time taken in each component. It is useful if you are attempting to increase site performance or isolate what is causing a specific HTTP error to be returned.

如果您遇到其他任何问题,请告诉我们.

Please let us know if you come across any other issues.


这篇关于我的网站反应缓慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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