Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

coco 长时间跑会占用多少内存 #27

Open
lpf32 opened this issue Dec 21, 2017 · 1 comment
Open

coco 长时间跑会占用多少内存 #27

lpf32 opened this issue Dec 21, 2017 · 1 comment

Comments

@lpf32
Copy link

lpf32 commented Dec 21, 2017

昨天coco因为oom被kill 了。

Dec 21 04:53:05 sh-0000034 kernel: python invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0 Dec 21 04:53:06 sh-0000034 kernel: python cpuset=/ mems_allowed=0 Dec 21 04:53:06 sh-0000034 kernel: CPU: 1 PID: 22620 Comm: python Not tainted 3.10.0-514.26.2.el7.x86_64 #1 Dec 21 04:53:06 sh-0000034 kernel: Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 Dec 21 04:53:06 sh-0000034 kernel: ffff880014833ec0 00000000bda4767f ffff8800149df938 ffffffff81687133 Dec 21 04:53:06 sh-0000034 kernel: ffff8800149df9c8 ffffffff816820de ffffffff810eb0dc ffff8800895cbc90 Dec 21 04:53:06 sh-0000034 kernel: ffff8800895cbca8 0000000000000202 ffff880014833ec0 ffff8800149df9b8 Dec 21 04:53:06 sh-0000034 kernel: Call Trace: Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff81687133>] dump_stack+0x19/0x1b Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff816820de>] dump_header+0x8e/0x225 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff810eb0dc>] ? ktime_get_ts64+0x4c/0xf0 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff8113d22f>] ? delayacct_end+0x8f/0xb0 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff81184d0e>] oom_kill_process+0x24e/0x3c0 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff811847ad>] ? oom_unkillable_task+0xcd/0x120 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff81184856>] ? find_lock_task_mm+0x56/0xc0 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff81093c0e>] ? has_capability_noaudit+0x1e/0x30 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff81185546>] out_of_memory+0x4b6/0x4f0 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff81682be7>] __alloc_pages_slowpath+0x5d7/0x725 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff8118b655>] __alloc_pages_nodemask+0x405/0x420 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff811cf9ca>] alloc_pages_current+0xaa/0x170 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff81180be7>] __page_cache_alloc+0x97/0xb0 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff81183760>] filemap_fault+0x170/0x410 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffffa01c1016>] ext4_filemap_fault+0x36/0x50 [ext4] Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff811ac83c>] __do_fault+0x4c/0xc0 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff811accd3>] do_read_fault.isra.42+0x43/0x130 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff811b1461>] handle_mm_fault+0x6b1/0x1000 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff81692cc4>] __do_page_fault+0x154/0x450 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff81692ff5>] do_page_fault+0x35/0x90 Dec 21 04:53:06 sh-0000034 kernel: [<ffffffff8168f208>] page_fault+0x28/0x30

@lpf32
Copy link
Author

lpf32 commented Dec 21, 2017

Dec 21 04:53:06 sh-0000034 kernel: [18976] 1004 18976 18585 215 38 0 0 ssh Dec 21 04:53:06 sh-0000034 kernel: [19122] 1004 19122 175522 21406 190 0 0 gunicorn Dec 21 04:53:06 sh-0000034 kernel: [ 7499] 1004 7499 1377823 567613 1491 0 0 python Dec 21 04:53:06 sh-0000034 kernel: [26735] 0 26735 28279 58 12 0 0 watchdog.sh Dec 21 04:53:06 sh-0000034 kernel: [32561] 0 32561 26973 27 10 0 0 sleep Dec 21 04:53:06 sh-0000034 kernel: [32628] 0 32628 39283 296 33 0 0 crond Dec 21 04:53:06 sh-0000034 kernel: [32629] 0 32629 45050 274 43 0 0 crond Dec 21 04:53:06 sh-0000034 kernel: [32632] 0 32632 28279 171 11 0 0 sh Dec 21 04:53:06 sh-0000034 kernel: [32635] 0 32635 28280 219 12 0 0 secu-tcs-agent- Dec 21 04:53:06 sh-0000034 kernel: [32636] 0 32636 28279 219 11 0 0 start.sh Dec 21 04:53:06 sh-0000034 kernel: [32641] 0 32641 28279 124 11 0 0 start.sh Dec 21 04:53:06 sh-0000034 kernel: [32642] 0 32642 730 31 6 0 0 ps Dec 21 04:53:06 sh-0000034 kernel: [32643] 0 32643 730 27 6 0 0 grep Dec 21 04:53:06 sh-0000034 kernel: [32644] 0 32644 730 28 6 0 0 grep Dec 21 04:53:06 sh-0000034 kernel: [32645] 0 32645 26975 89 9 0 0 wc Dec 21 04:53:06 sh-0000034 kernel: [32646] 0 32646 2222 33 8 0 0 stat Dec 21 04:53:06 sh-0000034 kernel: Out of memory: Kill process 7499 (python) score 586 or sacrifice child Dec 21 04:53:06 sh-0000034 kernel: Killed process 7499 (python) total-vm:5511292kB, anon-rss:2270452kB, file-rss:0kB, shmem-rss:0kB

ibuler pushed a commit that referenced this issue Nov 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant