[linux-lvm] Out of memory happen in snapshot

kevin Cheng kevin_cheng at thecus.com
Thu Sep 14 02:36:25 UTC 2006


Dear all:
   We create the 8 snapshots in one volumn ,and copy a 4G file to the volumn
,
and system happen "out of memory" and oom-killer kill my processes. 
Someone have happen this problem ,have any way to solve it ? Thanks!!
 
My PC info:
celoron M 1,5GHz
memory :256MB
My volumn be created on RAID0
kernel is 2.6.17
Filesyetm is ext3
swap memory have 1GB
 
 
Out of memory Info :
-killer: gfp_mask=0x201d2, order=0
 <c012977a> out_of_memory+0x28/0x7a  <c012a603> __alloc_pages+0x1e5/0x26a
 <c012778b> page_cache_read+0x3d/0x91  <c0127972> filemap_nopage+0x193/0x2a8
 <c0130f17> do_no_page+0x6a/0x1c1  <c013118b> __handle_mm_fault+0xbc/0x15a
 <c010d87f> do_page_fault+0x239/0x561  <c010d646> do_page_fault+0x0/0x561
 <c0102e87> error_code+0x4f/0x54
Mem-info:
DMA per-cpu:
cpu 0 hot: high 0, batch 1 used:0
cpu 0 cold: high 0, batch 1 used:0
DMA32 per-cpu: empty
Normal per-cpu:
cpu 0 hot: high 90, batch 15 used:18
cpu 0 cold: high 30, batch 7 used:24
HighMem per-cpu: empty
Free pages:       24772kB (0kB HighMem)
Active:1061 inactive:17650 dirty:3602 writeback:4502 unstable:0 free:6193
slab:32454 mapped:66 pagetables:169
DMA free:2880kB min:1928kB low:2408kB high:2892kB active:68kB
inactive:4640kB present:16384kB pages_scanned:4506 all_unreclaimable? yes
lowmem_reserve[]: 0 0 238 238
DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB
pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 238 238
Normal free:21892kB min:28788kB low:35984kB high:43180kB active:4176kB
inactive:65960kB present:244672kB pages_scanned:73425 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB
present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 0*4kB 42*8kB 147*16kB 0*32kB 1*64kB 1*128kB 0*256kB 0*512kB 0*1024kB
0*2048kB 0*4096kB = 2880kB
DMA32: empty
Normal: 1779*4kB 839*8kB 342*16kB 1*32kB 0*64kB 0*128kB 0*256kB 1*512kB
0*1024kB 1*2048kB 0*4096kB = 21892kB
HighMem: empty
Swap cache: add 5930, delete 5875, find 21346/21816, race 0+0
Free swap  = 975336kB
Total swap = 987832kB
Free swap:       975336kB
65264 pages of RAM
0 pages of HIGHMEM
1324 reserved pages
9298 pages shared
55 pages swap cached
3602 pages dirty
4502 pages writeback
66 pages mapped
32454 pages slab
169 pages pagetables
oom-killer: gfp_mask=0x200d2, order=0
 <c012977a> out_of_memory+0x28/0x7a  <c012a603> __alloc_pages+0x1e5/0x26a
 <c0135cc7> read_swap_cache_async+0x2e/0x73  <c0130c1a>
do_swap_page+0x62/0x1ec
 <c01311c1> __handle_mm_fault+0xf2/0x15a  <c010d87f>
do_page_fault+0x239/0x561
 <c010d646> do_page_fault+0x0/0x561  <c0102e87> error_code+0x4f/0x54
Mem-info:
DMA per-cpu:
cpu 0 hot: high 0, batch 1 used:0
cpu 0 cold: high 0, batch 1 used:0
DMA32 per-cpu: empty
Normal per-cpu:
cpu 0 hot: high 90, batch 15 used:18
cpu 0 cold: high 30, batch 7 used:24
HighMem per-cpu: empty
Free pages:       24772kB (0kB HighMem)
Active:1061 inactive:17650 dirty:3591 writeback:4513 unstable:0 free:6193
slab:32454 mapped:66 pagetables:169
DMA free:2880kB min:1928kB low:2408kB high:2892kB active:68kB
inactive:4640kB present:16384kB pages_scanned:4538 all_unreclaimable? yes
lowmem_reserve[]: 0 0 238 238
DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB
pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 238 238
Normal free:21892kB min:28788kB low:35984kB high:43180kB active:4176kB
inactive:65960kB present:244672kB pages_scanned:73489 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB
present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 0*4kB 42*8kB 147*16kB 0*32kB 1*64kB 1*128kB 0*256kB 0*512kB 0*1024kB
0*2048kB 0*4096kB = 2880kB
DMA32: empty
Normal: 1779*4kB 839*8kB 342*16kB 1*32kB 0*64kB 0*128kB 0*256kB 1*512kB
0*1024kB 1*2048kB 0*4096kB = 21892kB
HighMem: empty
Swap cache: add 5930, delete 5875, find 21346/21816, race 0+0
Free swap  = 975336kB
Total swap = 987832kB
Free swap:       975336kB
65264 pages of RAM
0 pages of HIGHMEM
1324 reserved pages
9298 pages shared
55 pages swap cached
3591 pages dirty
4513 pages writeback
66 pages mapped
32454 pages slab
169 pages pagetables
oom-killer: gfp_mask=0x200d2, order=0
 <c012977a> out_of_memory+0x28/0x7a  <c012a603> __alloc_pages+0x1e5/0x26a
 <c0135cc7> read_swap_cache_async+0x2e/0x73  <c0130c1a>
do_swap_page+0x62/0x1ec
 <c01311c1> __handle_mm_fault+0xf2/0x15a  <c010d87f>
do_page_fault+0x239/0x561
 <c010d646> do_page_fault+0x0/0x561  <c0102e87> error_code+0x4f/0x54
Mem-info:
DMA per-cpu:
cpu 0 hot: high 0, batch 1 used:0
cpu 0 cold: high 0, batch 1 used:0
DMA32 per-cpu: empty
Normal per-cpu:
cpu 0 hot: high 90, batch 15 used:18
cpu 0 cold: high 30, batch 7 used:24
HighMem per-cpu: empty
Free pages:       24772kB (0kB HighMem)
Active:1061 inactive:17650 dirty:3591 writeback:4513 unstable:0 free:6193
slab:32454 mapped:66 pagetables:169
DMA free:2880kB min:1928kB low:2408kB high:2892kB active:68kB
inactive:4640kB present:16384kB pages_scanned:4538 all_unreclaimable? yes
lowmem_reserve[]: 0 0 238 238
DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB
pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 238 238
Normal free:21892kB min:28788kB low:35984kB high:43180kB active:4176kB
inactive:65960kB present:244672kB pages_scanned:73489 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB
present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 0*4kB 42*8kB 147*16kB 0*32kB 1*64kB 1*128kB 0*256kB 0*512kB 0*1024kB
0*2048kB 0*4096kB = 2880kB
DMA32: empty
Normal: 1779*4kB 839*8kB 342*16kB 1*32kB 0*64kB 0*128kB 0*256kB 1*512kB
0*1024kB 1*2048kB 0*4096kB = 21892kB
HighMem: empty
Swap cache: add 5930, delete 5875, find 21346/21816, race 0+0
Free swap  = 975336kB
Total swap = 987832kB
Free swap:       975336kB
65264 pages of RAM
0 pages of HIGHMEM
1324 reserved pages
9298 pages shared
55 pages swap cached
3591 pages dirty
4513 pages writeback
66 pages mapped
32454 pages slab
169 pages pagetables
oom-killer: gfp_mask=0x201d2, order=0
 <c012977a> out_of_memory+0x28/0x7a  <c012a603> __alloc_pages+0x1e5/0x26a
 <c012778b> page_cache_read+0x3d/0x91  <c0127972> filemap_nopage+0x193/0x2a8
 <c0130f17> do_no_page+0x6a/0x1c1  <c013118b> __handle_mm_fault+0xbc/0x15a
 <c010d87f> do_page_fault+0x239/0x561  <c010d646> do_page_fault+0x0/0x561
 <c0102e87> error_code+0x4f/0x54
Mem-info:
DMA per-cpu:
cpu 0 hot: high 0, batch 1 used:0
cpu 0 cold: high 0, batch 1 used:0
DMA32 per-cpu: empty
Normal per-cpu:
cpu 0 hot: high 90, batch 15 used:18
cpu 0 cold: high 30, batch 7 used:24
HighMem per-cpu: empty
Free pages:       24772kB (0kB HighMem)
Active:1029 inactive:17682 dirty:3591 writeback:4513 unstable:0 free:6193
slab:32454 mapped:66 pagetables:169
DMA free:2880kB min:1928kB low:2408kB high:2892kB active:68kB
inactive:4640kB present:16384kB pages_scanned:4538 all_unreclaimable? yes
lowmem_reserve[]: 0 0 238 238
DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB
pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 238 238
Normal free:21892kB min:28788kB low:35984kB high:43180kB active:4048kB
inactive:66088kB present:244672kB pages_scanned:73521 all_unreclaimable? yes
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB
present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 0*4kB 42*8kB 147*16kB 0*32kB 1*64kB 1*128kB 0*256kB 0*512kB 0*1024kB
0*2048kB 0*4096kB = 2880kB
DMA32: empty
Normal: 1779*4kB 839*8kB 342*16kB 1*32kB 0*64kB 0*128kB 0*256kB 1*512kB
0*1024kB 1*2048kB 0*4096kB = 21892kB
HighMem: empty
Swap cache: add 5930, delete 5875, find 21346/21816, race 0+0
Free swap  = 975336kB
Total swap = 987832kB
Free swap:       975336kB
65264 pages of RAM
0 pages of HIGHMEM
1324 reserved pages
9298 pages shared
55 pages swap cached
3591 pages dirty
4513 pages writeback
66 pages mapped
32454 pages slab
169 pages pagetables

 
 
 
 
Thanks for all advice ,
 
Regards,
 
Kevin Cheng
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20060914/c9e91b5e/attachment.htm>


More information about the linux-lvm mailing list