zoukankan      html  css  js  c++  java
  • IIS 5.0/5.1 进程回收

    IIS 5.0 Process Recycling Tool,IIS5Recycle 是作为一项服务运行在运行着 Windows 2000 和 Internet Information Services (IIS) 5.0 的计算机上的。 IIS5Recycle 的目的是要重复利用过程,在资源消耗问题影响到性能和可靠性之前将其影响降到最小程度。 这一工具可以根据存储在 Windows 注册表中的配置对 IIS 过程进行重复利用。 管理员还可以利用 IIS5Recycle 收集信息以便在排除故障过程和应用中使用。
       在重复利用 IIS 过程之前, IIS5Recycle 会在启用了 Windows Network Load Balancing (NLB)的系统中从群集(Web 群)中将 Web 服务器删除掉。 每次把某一服务器从群集中删除的时候,到这个 Web 服务器的连接也将会断掉。一旦连接号降至配置的阈值之下或已经达到了给定的时间, IIS 服务就得到了循环利用。

    IIS 5.0 Process Recycling Tool 工具下载地址:http://go.microsoft.com/fwlink/?LinkId=15077  。

    使用方法:下载到本地运行,安装结束后开始-程序-附件-命令提示符
    进入安装目录,按下面的进行安装配制 
    iis5recycle /install 安装为系统服务
    iis5recycle /config 配置IIS5RECYCLE
    net start iis5recycle 启动服务 
    iis5recycle /uninstall 卸载服务

    其中,iis5recycle /config 界面功能如下:

    第一行设置自动回收IIS进程的时间(即每隔多少时间回收一次,默认是168小时)
    第二行设置在收到多少请求后自动回收IIS进程(默认是200000次)
    第三行设置指定具体时间回收IIS进程(可按日、周设置)
    第四行设置IIS使用超过多少内存后自动回收进程(默认是1000000)
    第五行设置ASP队列超过多少后自动回收进程,可以避免ASP死锁导致的IIS挂起(默认是2000次)

    IIS进程回收的日志都可以在系统自带的日志里查看到。这个软件是针对整个IIS的,不能对单个站点进行操作。
    全部设置好以后,进程里多了两个进程IIs5Recycle.exe 和 iisrstas.exe

    To enable process recycling in Windows XP and IIS 5.1, you can download the IIS 5.0 process recycling tool from the Microsoft Web site. The process-recycle tool runs as a service on a computer running IIS 5.0 or 5.1. (from: http://msdn.microsoft.com/en-us/library/bb332338.aspx)

    To install IIS5Recycle:

    1. Copy downloaded IIS5Recycle.exe to a secure location to prevent normal users from changing the tool.
    2. Open the command prompt.
    3. Type IIS5Recycle /install.
    4. Configure the recycling conditions by typing IIS5Recycle /config.

    When I type IIS5Recycle /install on Windows XP, it says

    D:\>IIS5Recycle /install
    Install 'IIs5Recycle' service...
    'IIs5Recycle' wasn't supported on a non-Windows 2000 machine

    http://msdn.microsoft.com/en-us/library/bb332338.aspx

    http://winsystem.ctocio.com.cn/review/173/8125173.shtml

    http://ahapple.blog.163.com/blog/static/10375712009111201355451/

    http://blog.csdn.net/zhaojunjian_1980/archive/2008/06/10/2529537.aspx

  • 相关阅读:
    线程同步
    毕业答辩
    论文查重
    shell无名管道线的实现(父子进程实现对管道的一端读另一端写)
    并查集
    操作系统中的fork()函数对应的进程创建过程
    柠檬水找零问题
    环形链表
    删除排序数组中的重复项
    关于两数之和的算法
  • 原文地址:https://www.cnblogs.com/emanlee/p/1666093.html
Copyright © 2011-2022 走看看