本文暂时适用于IIS7.5。

IIS配置文件路径:"C:\Windows\System32\inetsrv\config\applicationHost.config"

1.startMode="AlwaysRunning"

完整树级结构
    <system.applicationHost>
        <applicationPools>         
            <add name="MyApplicationName" managedRuntimeVersion="v4.0" startMode="AlwaysRunning">
                <recycling logEventOnRecycle="Time, Schedule, Memory, PrivateMemory">
                    <periodicRestart time="00:00:00">
                        <schedule>
                            <clear />
                            <add value="04:30:00" />
                        </schedule>
                    </periodicRestart>
                </recycling>
                <processModel idleTimeout="00:00:00" />
            </add>
        </applicationPools>   
    </system.applicationHost>

此属性用于IIS进程Wp3p.exe的自动启动。以上设置针对进程池生效。也可以单独对指定Site下面的application进行设置,具体方法略。

05-28 13:00