Why am I not seeing all of my plans memory in Centos 8
I deployed the Linode Centos 8 distribution to a brand new Linode today and I am not seeing the proper amount of memory (RAM) being allocated to my system when reviewing the output of cat /proc/meminfo
.
MemTotal: 1873176 kB
MemFree: 1484456 kB
MemAvailable: 1578152 kB
Can you provide some insight as to why this may be happening and how I can resolve it?
1 Reply
The Centos 8 distro has kdump enabled by default which reserves a small amount of memory for creating crash dumps in case the kernel crashes unexpectedly. "The system kernel's memory image is preserved across the reboot and is accessible to the dump-capture kernel"[1] using kexec.
You can make all of the memory allocated to your Linode visible by following the process below:
1) Run systemctl disable kdump
2) Remove the crashkernel=auto
parameter from the GRUB_CMDLINE_LINUX
line in /etc/default/grub
3) Run grub2-mkconfig -o /boot/grub2/grub.cfg
4) Reboot
I hope this helps. Please let us know if you have any questions.