设置IIS为永久运行

IIS的网站默认情况下会定时回收,而我们大部分网站应该是永久运行
所以需要设置IIS为永久运行
这个主要是指App pool里的设置.
可以设置默认配置, 这样新建的网站都是这样的.

 

image.png

主要是配置1, 是否按需, 2, 回收时间 , 3 空闲时间

image.png

Click Start -> Run, then type in inetmgr. Click OK.
Expand the server icon on the left panel and select Application Pools
Locate the application pool Secret Server is running as. To determine this, expand Sites at the left, then find the website Secret Server is running on. Click on the Secret Server website or virtual directory (if it is running on one) and click Basic Settings on the right panel. This will indicate Secret Server's application pool.
Right-click the application pool, and then click Advanced Settings.
Set the Idle Time-out (minutes) option in the Process Model section to 0
Set the Regular Time Interval (minutes) option in the Recycling section to 0
Check the Specific Times setting by select it and click the arrow to see if there is time specified there or click the ... button to make sure there are no values there.
Click OK.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值