zoukankan      html  css  js  c++  java
  • IISRESET为什么有时候要带个noforce参数?

    IIS attempts to stop all services before restarting. The IISReset command-line utility waits up to one minute for all services to stop if you do not include the /noforce parameter. If the services cannot be stopped within one minute, all IIS services are terminated, and IIS restarts.

    IIS会试图在重启所有相关服务之前先停掉所有的服务. IISReset命令如果不带/noforce参数的话, 会花一分钟时间等待所有的服务进入停止状态. 如果在一分钟内服务没有停下来, IIS的所有服务都会被终止, 然后IIS重启.

     

    Use the /noforce parameter to help prevent data loss in case the IIS services cannot be stopped within the one minute time-out period. If you are certain that it is safe to force IIS to restart, you can omit the /noforce parameter. However, be aware that you could lose data if you do not include this parameter.

    如果IIS服务没能在一分钟内停下来的话, /noforce参数会帮助我们防止数据丢失的情况发生.

  • 相关阅读:
    【UVa#10325】The Lottery
    【洛谷P1868】饥饿的奶牛
    【NOI2005】维护数列
    【NOIP2018】保卫王国
    【洛谷P4719】动态dp
    【NOI2014】魔法森林
    【洛谷P4234】最小差值生成树
    【国家集训队】Tree II
    面试1
    struts2中的方法的调用
  • 原文地址:https://www.cnblogs.com/awpatp/p/1964655.html
Copyright © 2011-2022 走看看