Crash diagnosis

Updated at:

If an ECS instance experiences a kernel panic, an out of memory (OOM) error, or a system crash, use Crash Diagnosis to find the root cause and apply the recommended fixes from the diagnostic report.

Limitations

  • Region support

    This feature is supported only in the Chinese mainland and the China (Hong Kong) region.

  • Permissions

    As a RAM user, you must be granted the AliyunECSReadOnlyAccess and AliyunSysomFullAccess system policies by the parent Alibaba Cloud account.

  • Operating system support

    Architecture

    Operating system

    x86 architecture

    • Rocky Linux 9.5

    • Rocky Linux 9.1

    • Ubuntu 20.04

    • Alibaba Cloud Linux 3 Container Optimized Edition

    • 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

Procedure

  1. Log on to the CloudMonitor V2.0 console, select the target workspace, and in the left navigation pane, click All Features.

  2. On the All Features page, click CloudLens for ECS.

  3. At the top of the page, click System Diagnosis (SysOM).

  4. Set Diagnosis Mode to Node Diagnosis, Type of diagnosis to Scenario Diagnosis, and Diagnostic Item to Crash Diagnosis. Then, select the target Instance ID and click Run Diagnosis.

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

Diagnostic report

  • Basic Information

    The Basic Information section summarizes the diagnosis with key details, including the instance ID (which serves as the resource ID), diagnosis item, diagnostic report ID, and diagnosis start time.

  • Diagnosis conclusion

    Summarizes the findings and identifies the cause of the system crash.

  • Diagnosis suggestion

    Provides recommended actions based on the diagnostic findings.

  • Diagnosis details

    • Basic information

      • Crash title: The error message generated by the crash.

      • Running process: The name of the process that was active on the CPU during the crash.

      • RIP function: The function address from the RIP register at the time of the crash.

      • Kernel version: The version of the system kernel.

      • Crash demarcation: A preliminary analysis of the crash's root cause.

    • Crash stack

      Lists the kernel call stack at the time of the crash.

    • Error log

      • Shows the kernel error log, which may include details about I/O or hardware exceptions.

      • If no error log exists, this section is not displayed.