Please help my VPS using rockylinux 9.4
but now my command on SSH always killed by system.
can you help how to prevent my command from killed?
How many CPU and how much RAM does your Rocky machine have?
Try:
dnf clean all
dnf update
but I expect maybe your ram requirements are too low.
One can run:
dmesg -T | grep -i -2 oom
and one should see some notes from oom-killer, if there was a memory shortage.
Yes my vps very low spec.
Only 1 GB Ram and 1 Cpu, just for my blog website
Yeah the problem is low memory.
Can I turn of OOM Killer?
Red Hat recommends 1.5 GB minimum: Appendix A. System requirements reference | Red Hat Product Documentation
If memory runs out, then something must yield. I do remember (CentOS version) where oom_killer did kill critical system services when user application was hogging the memory. The result was totally frozen system. The current oom_killer is a Good Thing.
Yes but when trying another OS never got this oom killer.
Can you please info how to disable and re-enable oom killer?
It cannot be completely disabled. Consider either adding swap or increasing the memory on the system. 1gb is far too little.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.