All Products
Search
Document Center

:How to enable the Kdump service for Linux instances

Last Updated:Dec 16, 2020

Disclaimer: this article may contain information about third-party products. Such information is for reference only. Alibaba Cloud does not make any guarantee, express or implied, with respect to the performance and reliability of third-party products, as well as potential impacts of operations on the products.

Introduction

The Kdump service can capture kernel errors for you to analyze kernel crashes. This article describes how to enable the Kdump service for Linux ECS instances.

Note: For more information about Kdump, see Kdump.

Background

Alibaba Cloud reminds you that:

  • Before you perform operations that may cause risks, such as modifying instance configurations or data, we recommend that you check the disaster recovery and fault tolerance capabilities of the instances to ensure data security.
  • You can modify the configurations and data of instances including but not limited to Elastic Compute Service (ECS) and Relational Database Service (RDS) instances. Before the modification, we recommend that you create snapshots or enable RDS log backup.
  • If you have authorized or submitted sensitive information such as the logon account and password in the Alibaba Cloud Management Console, we recommend that you modify such information in a timely manner.

When Kdump is enabled, it occupies a portion of the operating system memory space. The corresponding user system service kdump.service may affect the system startup speed. Therefore, some Linux distributions may not have this service enabled by default. Different versions of Linux have different enabling methods. The following lists the Linux distributions and their official documentation:

References

How to enable Kernel Memory Dump for Windows instances

Application scope

  • Elastic Compute Service