Linux进程被杀掉oom

来自linux中国网wiki
跳到导航 跳到搜索

Linux进程被杀掉oom

grep "Out of memory" /var/log/messages
Nov 14 11:35:56 VM-0-9 kernel: Out of memory: Kill process 27506 (mongod) score 303 or sacrifice child



 egrep -i -r 'killed process' /var/log
匹配到二进制文件 /var/log/journal/d858b31d95a446e491fe879388912c40/system.journal
/var/log/messages:Nov 14 11:35:56 VM-0-9- kernel: Killed process 27506 (mongod), UID 995, total-vm:2779764kB, anon-rss:1173456kB, file-rss:0kB, shmem-rss:0kB


R

oom killer日志分析


Linux进程被杀掉(OOM killer),查看系统日志