第一个要求是很慢的网站处于闲置状态与Asp.net MVC IIS6后 [英] First request is very slow after website sits idle with Asp.net mvc IIS6

查看:352
本文介绍了第一个要求是很慢的网站处于闲置状态与Asp.net MVC IIS6后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在asp.net mvc的一个项目,我的主机是使用IIS6,网站坐的闲置后的第一​​个要求是很慢的。
我看了看, http://forums.asp.net/t/1418959.aspx 并要求对托管这个设置。
他们说,实际的设置是:

I have a project in asp.net mvc, my hosting is using IIS6, and the first request after the website sit's idle is very slow. I looked at, http://forums.asp.net/t/1418959.aspx and asked the hosting for this settings. They say that the actual settings are:

池设置禁用,快速失败启用空闲超时和跟单工作进程。

"The pool is set with Idle Timeout disabled, Rapid-fail enabled and with a single worker process."

但在第一次请求仍然缓慢。你有任何其他线索?

But still slow at the first request. Do you have any other clues?

由于提前,

阿尔弗雷多·

推荐答案

您可能的工作进程回收。问问你的主机工作进程多久recyled。

You are probably a victim of worker process recycling. Ask your host how often the worker processes are recyled.

在一个工作进程被回收,它必须重新编译和重新启动整个Web应用程序,而这正是导致经济放缓。

When a worker process is recycled, it has to recompile and restart the entire web application, and that's what causes the slowdown.

这篇关于第一个要求是很慢的网站处于闲置状态与Asp.net MVC IIS6后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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