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 only available in the Chinese mainland and China (Hong Kong) regions.
Permissions
As a RAM user, you must be granted the
AliyunECSReadOnlyAccessandAliyunSysomFullAccesssystem 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
Log on to the CloudMonitor V2.0 console, select the target workspace, and in the left navigation pane, click All Features.
On the All Features page, click CloudLens for ECS.
At the top of the page, click System Diagnosis (SysOM).
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.
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
This section summarizes the findings and details the cause of any system crash.
Diagnosis suggestion
This section recommends actions to take 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
Displays the kernel error log, if available. This log may include details about I/O or hardware exceptions.
If no log exists, this section is not displayed.