- Documentation
Elastic Compute Service
Elastic Compute Service
Troubleshooting
Remote log in issue
Linux operating system issue
Methods to adjust large-page memory for Linux instances
Linux operating system issue
Methods to adjust large-page memory for Linux instances
Methods to adjust large-page memory for Linux instances
This topic describes how to resolve the issue of Linux instance inaccessibility caused by excessively large huge page memory settings by lowering the value of the vm.nr_hugepages parameter.
Prerequisites
To improve fault tolerance and ensure data security, we recommend that you create a snapshot for the instance. Procedure
- Execute the following command to back up the /etc/sysctl.conf file.
- Execute the following command and edit the /etc/sysctl.conf file.
- Press the "A" key to enter edit mode, locate the vm.nr_hugepages configuration item, and lower its value to a reasonable level based on your actual business needs.
- Press "Shift + :" and then enter wq.
- Press the "Enter" key to save and exit the file.
- Execute the following command to make the configuration take effect.
Last updated: 2026.04.13 16:50:02