watacii

导航

2012年11月3日 #

linux内存学习

摘要: 1.vmstatprocs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----r b swpd free buff cache si so bi bo in cs us sy id wa1 0 750568 298464 232836 1440800 1 1 4 5 5 18 4 7 87 1vmstat -aprocs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----r b swpd free inact a 阅读全文

posted @ 2012-11-03 17:47 wataciii 阅读(530) 评论(0) 推荐(0) 编辑

OOM killer -----Out of Memory,process killed 的罪魁祸首之探察篇

摘要: 1.出现根本原因.man malloc By default, Linux follows an optimistic memory allocation strategy. This means that when malloc() returns non-NULL there is no guarantee that the memory really is available. This is a really bad bug. In case it turns out that the system is out of memory, one or more processes wil 阅读全文

posted @ 2012-11-03 16:55 wataciii 阅读(1068) 评论(0) 推荐(0) 编辑