ITPub博客

首页 > 应用开发 > IT综合 > 使用AD+处理崩溃和挂起 (转)

使用AD+处理崩溃和挂起 (转)

原创 IT综合 作者:gugu99 时间:2008-01-09 09:27:02 0 删除 编辑
使用AD+处理崩溃和挂起 (转)[@more@]

使用AutoDump+(AD+)处理挂起和崩溃(序)

XML:namespace prefix = o ns = "urn:schemas-microsoft-com:Office:office" />

版本

创建时间

创建人

备注

1.0.1028.1

2002-10-28

郑昀

第一稿

  本文档将说明ADDump+(AD+)的使用场景。

概述

经常会在新闻组中看到“Help Me!My iis hang!”这样醒目的标题,您也许有过这样的辛酸的经验:

“Sometimes (every 30 minutes or every 15 minutes), without an excplicit reason, some sites hang. In this newsgroup other people have the same problem on windows 2000, NT 4 SP5, NT 4 SP6 but unfortunately we are not a lot of people so Microsoft ignore us and so we have no solutions/patch for this incident.”

用过Microsoft IIS、COM+的开发人员都知道,如果你使用得不恰当的话,它们会毫无预兆地嘎然而止。当那一刻来临的时候,你除了哭泣之外,唯一能做的可能只有重启IIS服务了,祈祷着下一次不要来得太快。更加不幸的是,如果组件服务(COM+)出现了意外,比如说内存异常,你只有重启计算机了,这对于支撑着关键性业务的站点可不是一个好消息。

当看着进度条停滞不前的浏览器,当看着永无休止调用着的COM+组件,我们无从知晓它们在那里做什么,在等待什么。

为什么不试试AutoDump+,简称AD+或ADPlus呢?

如果没有AD+,我们也许永远也不知道Hang、Crash她们为什么存在。

  • ADPlus.vbs
  • 版本 – 5.03
  • 发行日期 – 2002 年 1 月 31 日
  • 作者 – Robert Hensing, Solution Integration Engineering
  • 目的 – Autodump+ is used to automatically generate memory dumps or log files containing scripted debug output usefull for troubleshooting N-tier WinDNA / .NET applications.
  • 估计下载大小 – 247KB (ADPlus.vbs)
  • 下载地址:包含在Microsoft Debugging Tools for Windows工具包中

ASPx?scid=http://www.microsoft.com/ddk/debugging">http://support.microsoft.com/default.aspx?scid=http://www.microsoft.com/ddk/debugging

(出于易于阅读的考虑,以上 URL 可能已经换行。)

系统要求

下面是对运行该组件的计算机的要求:

  • windows NT 4.0 Service Pack 4 or later
  • Windows Scripting Host version 2.0 or later
  • At least 10 MB of free space on the disk or network share where the output files will be placed
  • Microsoft Debugging Tools for Windows installed

安装Windows2000符号

为了更好地使用这一工具,我提请您安装Microsoft Windows 2000 Customer Support Diagnostics 软件,它包括:

  • 符号  符号是软件开发人员分配给各个不同代码段的名称。软件包中包含用于 Windows 2000 的符号。
  • 调试工具软件包  软件包中包括调试程序(KD、Windbg、CDB)、扩展的调试工具(Windows NT 4.0 和 Windows 2000 零售和调试版)及其他相关的调试工具软件包。

有了调试符号,AutoDump+输出的调试信息才能够被充分解读。

  • Microsoft Windows 2000 Customer Support Diagnostics
  • 估计下载大小 – 104MB
  • 下载地址:

http://www.microsoft.com/ddk/debugging/symbolpkg.asp#Windows%20symbol%20packages(DOWNLOAD symbol packages for Windows®)

或者

http://www.microsoft.com/Windows2000/downloads/tools/symbols/download.asp

(出于易于阅读的考虑,以上 URL 可能已经换行。)

更多信息

AD+有三种操作模式:

Ø  挂起模式(Hang)

Ø  崩溃模式(Crash)

Ø  快速模式(Quick)

你应该在下列情况下使用AD+:

Ø  进程挂起

Ø  单处理器计算机上进程占用100%cpu,双处理器计算机上进程占用50%CPU

Ø  进程意外崩溃或者关闭

关于它的进一步资料,请查询:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q286350

或者

http://support.microsoft.com/support/kb/articles/q286/3/50.asp

 

继续阅读之前,我们假设您熟悉以下知识:

n  Windows Debugger (Windbg)

n  Windows Debugging Techniques

n  Windows Program Architecture


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10748419/viewspace-996961/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 并口与编程 (转)
下一篇: DCOM的心跳 (转)
请登录后发表评论 登录
全部评论
  • 博文量
    3121
  • 访问量
    2641142