Web应用程序突然运行非常慢的解决方案 [英] solution if a web application is running very slow all of a sudden

查看:383
本文介绍了Web应用程序突然运行非常慢的解决方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果发现我们的Web应用程序突然突然运行非常慢(此答案应同时包括.net和SQL Server),该怎么办

What will we do if we find that our web application is running very slow all of a sudden (This answer should include both .net and SQL server)

推荐答案

要做的第一件事是调查您的应用程序在做什么,是否做错了什么,或者以错误的方式做了正确的事情.如果没有对您的代码有很好的了解,任何人都不可能猜测出可能是什么问题.
The first thing to do is investigate what your application is doing and whether it is doing anything wrong, or doing something right but in the wrong way. It is impossible for anyone to guess what might be the problem without a good understanding of your code.



  • 查看您的防火墙/IIS日志,看看您是否承受着沉重的负担(也许是ddos攻击?)
  • 使用活动监视器检查数据库上的锁和冻结作业
  • 如果可以访问,请检查服务器上的CPU/RAM使用情况,可能是应用程序正在消耗过多的资源...
  • 等.

  • Have a look at your Firewall / IIS logs and see if you are under heavy load (maybe a ddos-attack?)
  • Check for locks and freezing jobs on the database with the activity monitor
  • If you have access to, check the CPU/RAM usage on your server, maybe an application is consuming too much resources...
  • etc..


这篇关于Web应用程序突然运行非常慢的解决方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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