基本概念:html
Linux 内核有个机制叫OOM killer(Out-Of-Memory killer),该机制会监控那些占用内存过大,尤为是瞬间很快消耗大量内存的进程,为了防止内存耗尽而内核会把该进程杀掉。ui
如何查看:spa
grep "Out of memory" /var/log/messages
结果如图:.net
详细分析转载自:http://blog.chinaunix.net/uid-29242873-id-3942763.htmlunix