Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/google-sheets/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iis 应用程序池在startMode=AlwaysRunning时处于空闲状态_Iis - Fatal编程技术网

Iis 应用程序池在startMode=AlwaysRunning时处于空闲状态

Iis 应用程序池在startMode=AlwaysRunning时处于空闲状态,iis,Iis,据我所知,空闲超时仅在startMode=OnDemand时有效,但我在事件日志中发现以下消息: A worker process with process id of '2556' serving application pool 'xxxx' was shutdown due to inactivity. Application Pool timeout configuration was set to 20 minutes. A new worker process will be s

据我所知,空闲超时仅在
startMode=OnDemand
时有效,但我在事件日志中发现以下消息:

A worker process with process id of '2556' serving application pool 'xxxx' was shutdown due to inactivity.  Application Pool timeout configuration was set to 20 minutes.  A new worker process will be started when needed.
我已将超时设置为5分钟,以帮助我找到目标设置,似乎空闲计时器在
startMode=AlwaysRunning
时仍然有效


我还发现该应用程序池的一个新工作进程立即启动,但我希望该应用程序池不会每5分钟循环一次。有人知道发生了什么吗

您是否已将
autoStart
设置为
true
?是的,我在该应用程序池中也有一个WCF服务,我注意到每当空闲计时器达到零时,将调用web服务的应用程序启动。我的猜测是,每当空闲计时器达到零,IIS就会自动启动一个新的应用程序池,并再次初始化我的所有web服务。。