如何禁用IIS7的应用程序池空闲超时? [英] How to disable the application pool idle time-out in IIS7?

查看:1913
本文介绍了如何禁用IIS7的应用程序池空闲超时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请问,如果我设置空闲超时时间为0,它被禁用?

Will it be disabled if I set the idle time-out to 0?

推荐答案

是的,空闲超时值设置为零将禁用闲置超时。

Yes, setting the idle timeout value to zero will disable idle timeouts.

这奇怪的MS文档没有记载,但我的这个证据来源于:

Oddly this isn't documented in the MS docs but my evidence for this arises from:


  • IIS设置架构

  • IIS Settings Schema

如果你在看看IIS设置架构:

If you have a look at the IIS settings schema in:

C:\\ WINDOWS \\ SYSTEM32 \\ INETSRV \\设置\\架构\\ IIS_schema.xml

的idleTimeout

< sectionSchema NAME =system.applicationHost / applicationPools>

它看起来像:

<attribute name="idleTimeout" 
       type="timeSpan" 
       defaultValue="00:20:00" 
       validationType="timeSpanRange" 
       validationParameter="0,2592000,60"/>

如果你看看 validationParameter 属性,我们可以看到一个范围为0至2592000秒(即 60 指定设置的粒度,在这种情况下,值必须divisable 60 [1分钟])

If you look at the validationParameter attribute we see a range of 0 to 2592000 seconds (the ,60 specifies the granularity of the setting, in this case the value must be divisable by 60 [one minute]).

如果你看到 0 的起始允许值那么这通常表示该设置可以被禁用。

If you see a starting permissible value of 0 then that usually indicates the setting can be disabled.

IIS7应用程序池空闲超时设置

布拉德·金斯利是OrcsWeb的创始人和首席执行官谁是相当著名,尊重和信任的微软托管商和金牌合作伙伴。

Brad Kingsley is the founder and CEO of OrcsWeb who are a fairly well known, respected and trusted Microsoft hoster and Gold Partner.

再有就是还的事实,它只是工程的经验证据。

Then there's also the empirical evidence of the fact that it "just works".

这篇关于如何禁用IIS7的应用程序池空闲超时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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