如何启用核心转储和故障转储捕获

Summary: 本文介绍如何在 Linux、UNIX 和 Windows 系统上启用核心转储(Linux 和 UNIX)和故障转储(Windows)捕获

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

当发现 NetWorker 或 NetWorker 进程出现故障时,需要通过在发生故障的系统上启用核心转储和故障转储捕获来收集核心转储或故障转储。

Linux 和 UNIX 系统

检查 core dump capture:

ulimit -c

的当前 ulimit 设置 如果将其设置为 0,将不会捕获核心转储。

捕获 NetWorker 或 NetWorker 模块的核心转储时,请使用以下命令增加设置:

ulimit -c unlimited

请查看您的作系统文档以确认如何永久保留此设置。

这些系统上的 NetWorker 核心转储通常位于 /nsr/cores 目录中。

Windows 2008 及更高版本

谨慎:如果未正确完成,添加和修改 Windows 注册表设置可能会导致作系统出现问题。仅当您是 Windows 高级用户时才进行这些更改。

创建或确认注册表项:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting\LocalDumps

存在于注册表中且可用。

更新或创建以下值以生成故障转储:

    DumpFolder (REG_EXPAND_SZ):  转储文件所在的
文件夹的路径DumpCount (DWORD):    文件夹
    DumpType (DWORD) 中的最大转储文件数:0 - 自定义转储,1 - 小型转储,2 - 完全转储


DumpCount 设置为 10,因为在创建故障转储时不应导致空间问题 DumpType 设置为 2 以收集 NetWorker 或 NetWorker 模块二进制文件

的完整故障转储 故障转储将位于 DumpFolder 注册表项中指定的路径中。
   

Additional Information

提醒:故障转储将位于 DumpFolder 注册表项中指定的路径中。

Affected Products

NetWorker Series

Products

NetWorker Series
Article Properties
Article Number: 000022391
Article Type: How To
Last Modified: 11 Dec 2025
Version:  5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.