美文网首页
设置IIS为永久运行

设置IIS为永久运行

作者: 灭蒙鸟 | 来源:发表于2018-08-02 10:45 被阅读27次

    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.

    相关文章

      网友评论

          本文标题:设置IIS为永久运行

          本文链接:https://www.haomeiwen.com/subject/jjvyeftx.html