.NET 应用程序上的 CPU 使用率较高

发布于 2024-12-17 07:41:21 字数 466 浏览 2 评论 0原文

我面临一个奇怪的问题,我们内部构建的 .NET 应用程序正在运行 50% 的 CPU 负载,并且似乎无法正常运行。

该应用程序使用 WatiN 调用执行 Web 应用程序测试的多个操作,我怀疑留下了一些线程或代码并且未正确清理(处置),但不确定。

我已执行以下操作:

  1. 进行了多次转储(通过使用任务管理器)。
  2. 使用 Windbg 查看正在运行的托管线程,看看是否有任何明显的情况。
  3. 运行 !dlk SOSEX 命令以查看是否存在任何死锁。
  4. 在所有捕获的 3 个转储上运行 DebugDiag 1.2。

我已在此处上传了 DebugDiag 报告:DebugDiag 报告

我不确定是否遗漏了任何明显的内容,我可以在这里检查什么?

I am facing a weird issue, our in house built .NET application is running a 50% CPU load and doesn't seem to function right.

The application uses WatiN to invoke several actions that perform web app testing, i am suspecting that some threads or code is left and not cleaned up (disposed) correctly, but not sure.

I have performed the following:

  1. Took several dumps (by using Task Manager).
  2. Took a peek using Windbg on the running managed threads to see if there's anything obvious.
  3. Run the !dlk SOSEX command to see if there's any deadlock going on.
  4. Run DebugDiag 1.2 on all captured 3 dumps.

I have uploaded the DebugDiag report here: DebugDiag Report

I am not sure if i am missing anything obvious, what can i check here?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文