python Not tainted 4.4.0-91-generic #114-Ubuntu 什么原因

曾经
  • 119
 Out of memory: Kill process 21529 (python) score 690 or sacrifice child
Jul 14 19:26:07 localhost kernel: [190988.065479] Killed process 21529 (python) total-vm:6284112kB, anon-rss:5714444kB, file-rss:676kB
Jul 14 21:00:02 localhost kernel: [196623.759532] python invoked oom-killer: gfp_mask=0x24201ca, order=0, oom_score_adj=0
Jul 14 21:00:02 localhost kernel: [196623.762072] python cpuset=/ mems_allowed=0
Jul 14 21:00:02 localhost kernel: [196623.762077] CPU: 2 PID: 28018 Comm: python Not tainted 4.4.0-91-generic #114-Ubuntu
Jul 14 21:00:02 localhost kernel: [196623.764486] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
Jul 14 21:00:02 localhost kernel: [196623.766063]  0000000000000286 6a09341d024b712e ffff880212dcb9f8 ffffffff813f9c83
Jul 14 21:00:02 localhost kernel: [196623.766063]  ffff880212dcbbb0 ffff8800db012a00 ffff880212dcba68 ffffffff8120b88e
Jul 14 21:00:02 localhost kernel: [196623.766063]  ffff880212dcba30 ffff880212dcba40 ffffffff814dae5a 00000000ffffffff
Jul 14 21:00:02 localhost kernel: [196623.766063] Call Trace:
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff813f9c83>] dump_stack+0x63/0x90
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff8120b88e>] dump_header+0x5a/0x1c5
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff814dae5a>] ? virtballoon_oom_notify+0x2a/0x80
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff81192d62>] oom_kill_process+0x202/0x3c0
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff81193189>] out_of_memory+0x219/0x460
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff81199178>] __alloc_pages_slowpath.constprop.88+0x938/0xad0
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff81199596>] __alloc_pages_nodemask+0x286/0x2a0
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff811e30dc>] alloc_pages_current+0x8c/0x110
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff8118f32b>] __page_cache_alloc+0xab/0xc0
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff8119183a>] filemap_fault+0x14a/0x3f0
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff812a3a96>] ext4_filemap_fault+0x36/0x50
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff811be850>] __do_fault+0x50/0xe0
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff811c2372>] handle_mm_fault+0xfa2/0x1820
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff811c9f03>] ? do_mmap+0x333/0x420
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff811ae36b>] ? vm_mmap_pgoff+0xbb/0xe0
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff8106b577>] __do_page_fault+0x197/0x400
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff8106b802>] do_page_fault+0x22/0x30
Jul 14 21:00:02 localhost kernel: [196623.766063]  [<ffffffff81844178>] page_fault+0x28/0x30
Jul 14 21:00:02 localhost kernel: [196623.810445] Mem-Info:
Jul 14 21:00:02 localhost kernel: [196623.811701] active_anon:1942263 inactive_anon:8499 isolated_anon:0
Jul 14 21:00:02 localhost kernel: [196623.811701]  active_file:67 inactive_file:253 isolated_file:0
回复
阅读 2.8k
1 个回答
Out of memory: Kill process 21529 (python) score 690 or sacrifice child

你的程序内存溢出了,检查下你的代码是哪里造成了这个内存溢出

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
宣传栏