Iis 7 常规时间间隔-应用程序池设置

Iis 7 常规时间间隔-应用程序池设置,iis-7,Iis 7,我们的prod服务器上有人在我们的应用程序池高级属性中将回收部分中的“常规时间间隔”设置设置为0。我在我们的开发服务器上试过了。我得到了这个错误: 应用程序池的进程模型的“空闲超时(分钟)”属性必须小于应用程序池周期重新启动的“常规时间间隔(分钟)”属性 流程模型部分中的空闲超时值为20,就像我们的prod服务器一样。那么是什么原因呢?我们怎么能在生产中做同样的事情,而不是在这里尝试?是否需要指定一个特殊值来强制为零 您可以设置定期时间间隔和空闲超时(分钟),以便输入定期时间间隔的值,然后转到回

我们的prod服务器上有人在我们的应用程序池高级属性中将回收部分中的“常规时间间隔”设置设置为0。我在我们的开发服务器上试过了。我得到了这个错误:

应用程序池的进程模型的“空闲超时(分钟)”属性必须小于应用程序池周期重新启动的“常规时间间隔(分钟)”属性


流程模型部分中的空闲超时值为20,就像我们的prod服务器一样。那么是什么原因呢?我们怎么能在生产中做同样的事情,而不是在这里尝试?是否需要指定一个特殊值来强制为零

您可以设置定期时间间隔和空闲超时(分钟),以便输入定期时间间隔的值,然后转到回收设置并停用定期时间间隔(分钟)


现在,常规时间间隔中有0,但空闲时间间隔中的值没有更改

您可以设置常规时间间隔和空闲时间间隔(分钟),以便输入常规时间间隔的值,然后转到循环设置并停用常规时间间隔(分钟)

现在,在常规时间间隔中有0,但空闲超时中的值没有改变

我发现了这篇文章:

这是IIS UI中的一个错误-您必须使用其他方法(appcmd、脚本、powershell、直接编辑配置等)进行设置

我发现这篇文章:

这是IIS UI中的一个错误-您必须使用其他方法(appcmd、脚本、powershell、直接编辑配置等)进行设置

我没有使用出现此错误的“高级设置”窗口,而是使用了“回收”设置菜单。

我没有使用出现此错误的“高级设置”窗口,而是使用了“回收”设置菜单

要解决此问题,请禁用常规时间间隔(在中) 分钟)属性。为此,请使用以下方法之一

方法1

1. Open IIS Manager.
2. In the Connections pane, expand the server node, and then click Application Pools.
3. Select the application pool for which you want to change the settings, and then click Recycling in the Actions pane.
4. Click to clear the Regular time intervals (in minutes) check box.
5. Click Next, and then follow the instructions to complete the wizard. 
方法2

1. In the Start Search box, type command prompt, right-click Command Prompt, and then click Run as administrator.
2. In the Administrator: Command Prompt window, type a command that resembles the following, and then press ENTER:
     cd \windows\system32\inetsrv
3. Type the following command, and then press ENTER:
     appcmd set apppool /apppool.name:[DefaultAppPool]/recycling.periodicRestart.time:00:00:00
Note The placeholder [DefaultAppPool] represents the name of the application pool that you want to edit.

要解决此问题,请禁用常规时间间隔(在中) 分钟)属性。为此,请使用以下方法之一

方法1

1. Open IIS Manager.
2. In the Connections pane, expand the server node, and then click Application Pools.
3. Select the application pool for which you want to change the settings, and then click Recycling in the Actions pane.
4. Click to clear the Regular time intervals (in minutes) check box.
5. Click Next, and then follow the instructions to complete the wizard. 
方法2

1. In the Start Search box, type command prompt, right-click Command Prompt, and then click Run as administrator.
2. In the Administrator: Command Prompt window, type a command that resembles the following, and then press ENTER:
     cd \windows\system32\inetsrv
3. Type the following command, and then press ENTER:
     appcmd set apppool /apppool.name:[DefaultAppPool]/recycling.periodicRestart.time:00:00:00
Note The placeholder [DefaultAppPool] represents the name of the application pool that you want to edit.

从。

这就得到了我想要的答案,即如何将间隔分钟设置为0。奇怪的是,您必须将其指定为时间跨度。我找不到任何其他地方可以清楚地记录此参数值的
appcmd
用法。这就得到了我想要的答案,即如何将间隔分钟设置为0。奇怪的是,您必须将其指定为时间跨度。我找不到任何其他地方可以清楚地记录此参数值的
appcmd
用法。