asp.net应用程序在一段时间不活动后变得缓慢 [英] asp.net application becoming slow after a period of inactivity

查看:156
本文介绍了asp.net应用程序在一段时间不活动后变得缓慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我们有一个应用程序在一段时间不活动后变得缓慢。



例如:早上很慢(> 20秒)。在几次加载后,它变得可以(<2秒)。



我已经检查过以下内容:



1- app pool循环时间:12:00 AM

2- app pool空闲超时(分钟):240分钟

3-会话状态超时:240分钟

4-表格认证超时:240分钟



我想将所有超时时间增加到24小时。这是一个好的解决方案吗?我在寻找正确的设置吗?对性能问题的正确查询顺序是什么?在此先感谢。

Hi All, We have an application which is becoming slow after a period of inactivity .

For example : its very slow in the morning (> 20 seconds). After a few loads it becomes OK (< 2 seconds).

I have already checked the following :

1- app pool recycling time : 12:00 AM
2- app pool Idle Time-out (minutes) : 240 Mins
3- Session state time-out : 240 Mins
4- forms authentication time-out : 240 mins

I want to increase all the time-outs to 24 hours. Is that a good solution ? Am I looking into the right settings ? what is the correct sequence of inquiry for performance issues ? Thanks in advance.

推荐答案

我认为原则上我不认为它与您的ASP.NET应用程序本身有关。你是如何衡量它的?



你观察到的,可能是许多因素的影响:托管服务提供商的服务器的工作负载和负载平衡情况, HTTP服务器的主机和客户端主机之间的流量情况。



-SA
I don''t think it can be related to your ASP.NET application itself in principle. How did you measure it?

What you observe, can be the effect of many factors: the workload of your hosting provider''s servers and load balancing situation, the traffic situation all the way between your HTTP server''s host and client host.

—SA


这篇关于asp.net应用程序在一段时间不活动后变得缓慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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