You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: OOM kills processes in Oracle Linux Instances

edited Jul 18, 2023 7:00AM in Linux

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) 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!