如何解决Red Hat Enterprise Linux中内存不足(OOM)终止程序的问题?
Issue
- 内存不足(OOM)终止程序守护进程正在终止活动进程。
- Red Hat OpenStack Platform 节点上的服务正在随机死亡。
- Red Hat OpenStack Platform 节点上的内存使用率似乎很高。
- Red Hat OpenStack Platform 节点上的可用内存似乎较低。
- 在日志中有一个
Out of memory: Kill process 43805 (keystone-all) score 249 or sacrifice child
提示:
[Wed Aug 31 16:36:42 2016] Out of memory: Kill process 43805 (keystone-all) score 249 or sacrifice child
[Wed Aug 31 16:36:42 2016] Killed process 43805 (keystone-all) total-vm:4446352kB, anon-rss:4053140kB, file-rss:68kB
[Wed Aug 31 16:56:25 2016] keystone-all invoked oom-killer: gfp_mask=0x280da, order=0, oom_score_adj=0
[Wed Aug 31 16:56:25 2016] keystone-all cpuset=/ mems_allowed=0
[Wed Aug 31 16:56:25 2016] CPU: 2 PID: 88196 Comm: keystone-all Not tainted 3.10.0-327.13.1.el7.x86_64 #1
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 6
- Red Hat OpenStack Platform 9.0
- Red Hat OpenStack Platform 8.0
- Red Hat OpenStack Platform 7.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.