- 论坛徽章:
- 1
|
本帖最后由 linuxfellow 于 2015-03-20 10:13 编辑
同样oom看点不一样, 下面的oom(我楼上帖过,为阅读方便再帖一下)
20521 total pagecache pages: 80M page cache
all_unreclaimable? yes : 不能释放
统计了一下,进程实际使用只有56兆,总内存120兆,剩下的哪里去了? 下一个看点:
shmem:15670 页 shmem:62680kB
怎么会有这么大的shmem?
原来可爱的应用开发人员用了60多兆的/tmpfs空间用于写log了
Mem-info:
Normal per-cpu:
CPU 0: hi: 42, btch: 7 usd: 0
active_anon:12289 inactive_anon:9965 isolated_anon:0
active_file:258 inactive_file:338 isolated_file:0
unevictable:4255 dirty:0 writeback:0 unstable:0
free:362 slab_reclaimable:473 slab_unreclaimable:1494
mapped:768 shmem:15670 pagetables:325 bounce:0
Normal free:1448kB min:1440kB low:1800kB high:2160kB active_anon:49156kB inactive_anon:39860kB active_file:1032kB inactive_file:1352kB unevictable:17020kB isolated(anon):0kB isolated(file):0kB present:130048kB mlocked:0kB dirty:0kB writeback:0kB mapped:3072kB shmem:62680kB slab_reclaimable:1892kB slab_unreclaimable:5976kB kernel_stack:1992kB pagetables:1300kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:8923 all_unreclaimable? yes
lowmem_reserve[]: 0 0
Normal: 30*4kB 2*8kB 2*16kB 0*32kB 0*64kB 0*128kB 1*256kB 2*512kB 0*1024kB 0*2048kB 0*4096kB = 1448kB
20521 total pagecache pages
0 pages in swap cache
Swap cache stats: add 0, delete 0, find 0/0
Free swap = 0kB
Total swap = 0kB
32768 pages of RAM
781 free pages
1553 reserved pages
1967 slab pages
7920 pages shared
0 pages swap cached
|
|