OCI: OOM kills processes in Oracle Linux Instances
Applies To:
Oracle Cloud Infrastructure
Linux x86-64
Goal:
On an OCI Free with Oracle Linux instances with 1 GB of RAM, OOM kills DNF during sudo dnf upgrade -y process and other processes.
Free command shows the system memory is low even though the system is idle and not running a lot of workload
$ free -m total used free shared buff/cache available Mem: 680 416 90 0 173 159 Swap: 1364 243 1121 $
Cause:
From dmesg logs, "crashkernel=auto" is configured, which has also reserved 280 MB of memory for it.
[ 0.007149] Using crashkernel=auto, the size chosen is a best effort estimation. [ 0.007152] Reserving 280MB of memory at 678MB for crashkernel (System RAM: 1018MB)
Tagged:
0