Crash diagnosis

更新时间:
复制 MD 格式

When an ECS instance crashes due to a kernel panic or an Out of Memory (OOM) event, or when you receive a system notification of an OS crash, use Crash Diagnosis to analyze the root cause. The report provides recommendations to fix the issue.

Limitations

  • Region limitations

    This feature is currently available only in the Chinese mainland and China (Hong Kong).

  • Operating system limitations

    Architecture

    Operating system

    x86 architecture

    • Rocky Linux 9.5

    • Rocky Linux 9.1

    • Ubuntu 20.04

    • Alibaba Cloud Linux 3 Container-Optimized

    • Rocky Linux 8.8

    • Ubuntu 22.04

    • Alibaba Cloud Linux 3 Pro

    • Alibaba Cloud Linux 2/3

    • CentOS 7.6 or later, or CentOS 8

    • Anolis OS 7/8

    • Ubuntu 24.04

    ARM architecture

    • Alibaba Cloud Linux 3 Pro

    • Alibaba Cloud Linux 3

Prerequisites

  • If you are a RAM user, ensure that your root account has attached the AliyunECSReadOnlyAccess and AliyunSysomFullAccess system policies to the RAM user.

  • Enable the O&M Service console.

    The first time you log on to the O&M Service console, click Enable Service.

Procedure

  1. Go to the O&M Service console.

  2. In the left-side navigation pane, click System Diagnosis.

  3. In the upper-left corner of the page, select the region of the target instance.

    image

  4. Select Scenario Diagnosis from the Diagnosis Type list and Crash Diagnosis from the Diagnostic Item list. Then, select the target instance ID and click Run Diagnosis.

    Note

    If SysOM is not installed on the target ECS instance, clicking Run Diagnosis automatically installs it. The diagnosis then starts immediately.

  5. In the Diagnostic Records section, click View Report.

    image

Diagnostic report

  • Basic information

    This section provides basic information about the diagnosis, including the instance ID, diagnostic item, diagnostic report ID, and the diagnosis start time.

  • Diagnostic conclusion

    If a system crash occurred, this section summarizes the findings and provides a detailed cause of the crash.

  • Diagnostic suggestions

    This section provides recommended actions based on the diagnostic findings.

  • Diagnostic details

    • Basic information

      • Crash title: The error message at the time of the crash.

      • Running process: The process running on the CPU during the crash.

      • RIP function: The function address stored in the RIP register during the crash.

      • Kernel version: The OS kernel version.

      • Crash demarcation: A preliminary classification of the crash cause.

    • Crash stack

      This section lists the kernel call stack at the time of the crash.

    • Error logs

      • If kernel error logs exist, such as I/O or hardware exceptions, this section displays them.

      • If no logs exist, this section is omitted.