All Products
Search
Document Center

:How do I collect kdump information after an instance experiences an operating system failure?

更新时间:Jul 01, 2025

When the operating system of an Elastic Compute Service (ECS) instance fails, a kdump file is generated. You can collect and submit kdump information to obtain troubleshooting assistance from Alibaba Cloud technical support personnel. This topic describes how to collect kdump information after the operating system of an instance fails.

Background information

Alibaba Cloud technical support personnel analyzes the submitted kdump information and identifies the root cause of the system failure. Then, you are notified about the results of the analysis.

Note

You can also check kdump files by using the Windows Debugger (WinDbg) tool for Windows instances or the crash tool for Linux instances.

Linux instance

  1. Connect to the Linux instance.

  2. Run the following command to collect kdump information:

    sudo acs-plugin-manager --exec --plugin=ecs_dump_collector --params="-c"

    A command output similar to the following one indicates that kdump information is collected. Collect the kdump information generated when the Linux operating system breaks down

Windows instance

  1. Connect to the Windows instance.

  2. Open Command Prompt.

  3. Go to the assist directory.

    cd C:\ProgramData\aliyun\assist
  4. View the information of files in the assist directory.

    dir
  5. Access the latest version of the directory. Example: 2.1.3.282.

    cd 2.1.3.282
  6. Collect kdump information.

    acs-plugin-manager.exe --exec --plugin=ecs_dump_collector_win --params="-c"

    A command output similar to the following one indicates that kdump information is collected. Collect the kdump information generated when the Windows operating system breaks down

FAQ

If the error message shown in the following figure is displayed when you attempt to collect kdump information, it indicates that the dump service is not enabled in the operating system. Error message

Solution:

  1. Run one of the following commands to enable the dump service.

    • Linux operating systems

      sudo acs-plugin-manager --exec --plugin ecs_dump_config --params --enable
    • Windows operating systems

      acs-plugin-manager.exe -e -P ecs_dump_config_win -p "--enable"
  2. Restart the instance in the ECS console for the new settings to take effect.