Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 314 by
xtru...@gmail.com: Out of Memory process killed
http://code.google.com/p/s3fs/issues/detail?id=314
im newbie of s3fs
I run s3fs on amazon ec2 t1.micro
s3fs run normaly first,
but eventually i got this message on dmesg
how large memory s3fs needs?
[10678098.190971] Call Trace:
[10678098.191059] [<ffffffff810bd5fd>] ?
cpuset_print_task_mems_allowed+0x9d/0xb0
[10678098.191064] [<ffffffff81117ce1>] dump_header+0x91/0xe0
[10678098.191067] [<ffffffff81118065>] oom_kill_process+0x85/0xb0
[10678098.191070] [<ffffffff8111840a>] out_of_memory+0xfa/0x220
[10678098.191074] [<ffffffff8111de3a>] __alloc_pages_nodemask+0x7ea/0x800
[10678098.191081] [<ffffffff81154b73>] alloc_pages_current+0xa3/0x110
[10678098.191086] [<ffffffff81114a4f>] __page_cache_alloc+0x8f/0xa0
[10678098.191089] [<ffffffff81114d4e>] ? find_get_page+0x1e/0x90
[10678098.191092] [<ffffffff81116bd2>] filemap_fault+0x212/0x3c0
[10678098.191096] [<ffffffff81136e62>] __do_fault+0x72/0x550
[10678098.191109] [<ffffffff8113a70a>] handle_pte_fault+0xfa/0x200
[10678098.191115] [<ffffffff8100648e>] ? xen_pmd_val+0xe/0x10
[10678098.191118] [<ffffffff810052e9>] ?
__raw_callee_save_xen_pmd_val+0x11/0x1e
[10678098.191121] [<ffffffff8113abc8>] handle_mm_fault+0x1f8/0x350
[10678098.191125] [<ffffffff8103cda5>] ? pvclock_clocksource_read+0x55/0xf0
[10678098.191131] [<ffffffff8165625b>] do_page_fault+0x14b/0x520
[10678098.191137] [<ffffffff8109300d>] ? ktime_get_ts+0xad/0xe0
[10678098.191145] [<ffffffff811876ad>] ?
poll_select_copy_remaining+0xed/0x140
[10678098.191148] [<ffffffff8118896d>] ? sys_select+0xcd/0x100
[10678098.191151] [<ffffffff81652eb5>] page_fault+0x25/0x30
[10678098.191153] Mem-Info:
[10678098.191156] Node 0 DMA per-cpu:
[10678098.191158] CPU 0: hi: 0, btch: 1 usd: 0
[10678098.191160] Node 0 DMA32 per-cpu:
[10678098.191162] CPU 0: hi: 186, btch: 31 usd: 45
[10678098.191166] active_anon:139286 inactive_anon:28 isolated_anon:0
[10678098.191167] active_file:72 inactive_file:351 isolated_file:0
[10678098.191168] unevictable:0 dirty:0 writeback:0 unstable:0
[10678098.191169] free:1368 slab_reclaimable:1835 slab_unreclaimable:2383
[10678098.191170] mapped:79 shmem:62 pagetables:1787 bounce:0
[10678098.191172] Node 0 DMA free:2460kB min:72kB low:88kB high:108kB
active_anon:9928kB inactive_anon:0kB active_file:196kB inactive_file:456kB
unevictable:0kB isolated(anon):0kB isolated(file):0kB present:14524kB
mlocked:0kB dirty:0kB writeback:0kB mapped:208kB shmem:0kB
slab_reclaimable:988kB slab_unreclaimable:256kB kernel_stack:168kB
pagetables:160kB unstable:0kB bounce:0kB writeback_tmp:0kB
pages_scanned:1107 all_unreclaimable? yes
[10678098.191181] lowmem_reserve[]: 0 597 597 597
[10678098.191184] Node 0 DMA32 free:3012kB min:3088kB low:3860kB
high:4632kB active_anon:547216kB inactive_anon:112kB active_file:92kB
inactive_file:948kB unevictable:0kB isolated(anon):0kB isolated(file):0kB
present:611856kB mlocked:0kB dirty:0kB writeback:0kB mapped:108kB
shmem:248kB slab_reclaimable:6352kB slab_unreclaimable:9276kB
kernel_stack:704kB pagetables:6988kB unstable:0kB bounce:0kB
writeback_tmp:0kB pages_scanned:1181 all_unreclaimable? yes
[10678098.191193] lowmem_reserve[]: 0 0 0 0
[10678098.191196] Node 0 DMA: 157*4kB 13*8kB 14*16kB 7*32kB 2*64kB 1*128kB
0*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 2460kB
[10678098.191206] Node 0 DMA32: 753*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB
0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 3012kB
[10678098.191214] 486 total pagecache pages
[10678098.191216] 0 pages in swap cache
[10678098.191217] Swap cache stats: add 0, delete 0, find 0/0
[10678098.191219] Free swap = 0kB
[10678098.191220] Total swap = 0kB
[10678098.199723] 159472 pages RAM
[10678098.199727] 8376 pages reserved
[10678098.199728] 5929 pages shared
[10678098.199729] 148147 pages non-shared
[10678098.199731] [ pid ] uid tgid total_vm rss cpu oom_adj
oom_score_adj name
[10678098.199742] [ 247] 0 247 4308 47 0
0 0 upstart-udev-br
[10678098.199745] [ 251] 0 251 5377 120 0 -17
-1000 udevd
[10678098.199749] [ 297] 0 297 5366 99 0 -17
-1000 udevd
[10678098.199752] [ 298] 0 298 5366 97 0 -17
-1000 udevd
[10678098.199755] [ 394] 0 394 3797 47 0
0 0 upstart-socket-
[10678098.199759] [ 405] 0 405 1816 124 0
0 0 dhclient3
[10678098.199762] [ 619] 0 619 12489 156 0 -17
-1000 sshd
[10678098.199765] [ 631] 102 631 5979 77 0
0 0 dbus-daemon
[10678098.199769] [ 633] 101 633 63526 753 0
0 0 rsyslogd
[10678098.199772] [ 692] 0 692 3626 41 0
0 0 getty
[10678098.199775] [ 698] 0 698 3626 43 0
0 0 getty
[10678098.199779] [ 703] 0 703 3626 41 0
0 0 getty
[10678098.199782] [ 704] 0 704 3626 41 0
0 0 getty
[10678098.199785] [ 706] 0 706 3626 42 0
0 0 getty
[10678098.199789] [ 712] 0 712 1082 36 0
0 0 acpid
[10678098.199792] [ 714] 0 714 4227 40 0
0 0 atd
[10678098.199795] [ 715] 0 715 4778 59 0
0 0 cron
[10678098.199798] [ 724] 0 724 19198 272 0
0 0 nginx
[10678098.199801] [ 725] 33 725 19349 428 0
0 0 nginx
[10678098.199805] [ 726] 33 726 19347 430 0
0 0 nginx
[10678098.199808] [ 727] 103 727 46897 299 0
0 0 whoopsie
[10678098.199811] [ 732] 33 732 19351 447 0
0 0 nginx
[10678098.199814] [ 734] 33 734 19348 439 0
0 0 nginx
[10678098.199818] [ 748] 0 748 61490 940 0
0 0 php5-fpm
[10678098.199821] [ 749] 33 749 62556 1510 0
0 0 php5-fpm
[10678098.199824] [ 750] 33 750 62684 1650 0
0 0 php5-fpm
[10678098.199827] [ 751] 33 751 62684 1651 0
0 0 php5-fpm
[10678098.199830] [ 752] 33 752 62556 1522 0
0 0 php5-fpm
[10678098.199834] [ 782] 0 782 3626 41 0
0 0 getty
[10678098.199837] [ 971] 33 971 62428 1478 0
0 0 php5-fpm
[10678098.199841] [ 1166] 0 1166 3143 42 0
0 0 rsync
[10678098.199844] [30324] 33 30324 62851 1835 0
0 0 php5-fpm
[10678098.199847] [15013] 0 15013 4800 78 0
0 0 rpcbind
[10678098.199850] [15247] 106 15247 5376 115 0
0 0 rpc.statd
[10678098.199854] [15318] 0 15318 7445 65 0
0 0 rpc.idmapd
[10678098.199860] [15807] 0 15807 7047 164 0
0 0 rpc.mountd
[10678098.199863] [28746] 0 28746 287290 123730 0
0 0 s3fs
[10678098.199867] [ 8468] 0 8468 18340 201 0
0 0 sshd
[10678098.199870] [ 8549] 1000 8549 18340 200 0
0 0 sshd
[10678098.199873] [ 8550] 1000 8550 6241 1450 0
0 0 bash
[10678098.199876] [ 9103] 1000 9103 13384 626 0
0 0 vi
[10678098.199879] [19380] 0 19380 18340 195 0
0 0 sshd
[10678098.199882] [19382] 0 19382 1100 25 0
0 0 sh
[10678098.199886] [19383] 0 19383 1075 27 0
0 0 run-parts
[10678098.199891] [19391] 0 19391 1100 26 0
0 0 50-landscape-sy
[10678098.199895] [19398] 0 19398 17263 2667 0
0 0 landscape-sysin
[10678098.199898] [19400] 0 19400 12495 150 0
0 0 sshd
[10678098.199901] [19401] 0 19401 12489 151 0 -17
-1000 sshd
[10678098.199905] Out of memory: Kill process 28746 (s3fs) score 791 or
sacrifice child