zoukankan      html  css  js  c++  java
  • 如何在IIS crash或者hang时候,dump 所有与IIS相关的memory?

    当IIS发生crash或者hang之后,如果有必要获取此刻的memory dump。我们必须通过相应的debug tool来获得。相应工具很多。推荐的是windbg。安装之后,在其folder下,有一个adplus.vbs脚本工具。
    1.dump hang模式下的iis memory:
        在command console下面:
        key in:    adplus -hang -iis -o c:\ Path_to_Put_Files_in -quiet
        则系统会listen iis。如果iis发生hang,那么会自动收集与iis相关的memory保存至Path_to_Put_Files,然后exit.

    2. dump crash模式下的iis memory:
        在command console下面:
        key in: adplus -crash -iis -o c:\ Path_to_Put_Files_in -quiet
        则当iis crash的时候,系统会自动收集与iis相关的memery并保存至Path_to_Put_Files,然后exit.


  • 相关阅读:
    codova 打包vue项目的坑
    vscode 开发wtl 笔记
    redis
    展开/收缩 ul
    ueditor
    xml
    NPOI
    滚动效果,有些浏览器不支持
    fileupload控件上传、文件下载
    excel函数
  • 原文地址:https://www.cnblogs.com/Winston/p/1234071.html
Copyright © 2011-2022 走看看