OCI : Yum Install Command Getting Killed On Oracle Linux 8 Instance
in Linux
APPLIES TO:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
SYMPTOMS
Yum command execution is failing on Oracle Linux 8 Instance, while trying execute the command "yum install httpd" below error is returned.
[root@xxxx ~]# yum install httpd
killed
CAUSE
System is running out of memory hence the yum command is getting killed, instance has only 119728 kB memory available
cat /proc/meminfo
MemTotal: 970860 kB
MemFree: 62656 kB
MemAvailable: 119728 kB jul 30 11:53:29 xxxx kernel: yum invoked oom-killer: gfp_mask=0x1100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
Jul 30 11:53:30 xxxx kernel: CPU: 1 PID: 3847 Comm: yum Not tainted 5.15.0-207.156.6.el8uek.x86_64 #2
Tagged:
0