Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1184192
| From | David Rientjes <rientjes@google.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: 答复: [BUG REPORT] OOM Killer is invoked while the system still has much memory |
| Date | 2015-07-15 04:00 +0200 |
| Message-ID | <pMk9j-1ri-3@gated-at.bofh.it> (permalink) |
| References | <pM2Fr-7F7-7@gated-at.bofh.it> <pMiqT-7Ep-11@gated-at.bofh.it> <pMjZE-1fX-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Wed, 15 Jul 2015, Xuzhichuang wrote: > Hi, > > Thanks for your replying. > > According to the OOM message, OOM killer is invoked by the function seq_read, I found two patches in the latest kernel which can be avoid or fixed this problem. > > https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/fs/seq_file.c?id=058504edd02667eef8fac9be27ab3ea74332e9b4 > https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/fs/seq_file.c?id=5cec38ac866bfb8775638e71a86e4d8cac30caae > > As the patches said, it changed the seq_file code fallback to vmalloc allocations if kmalloc failed, instead of OOM kill processes. > Yes, we use those two patches as well internally. You may want to give them a try if this is the only source of oom killer issues, but keep in mind that other subsystems like the tcp layer will often do high-order allocations as well. If you can free up some of that ZONE_DMA memory that is unneeded with lowmem_reserve_ratio, you might get a little more room. Good luck! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: [BUG REPORT] OOM Killer is invoked while the system still has much memory David Rientjes <rientjes@google.com> - 2015-07-15 02:10 +0200
答复: [BUG REPORT] OOM Killer is invoked while the system still has much memory Xuzhichuang <xuzhichuang@huawei.com> - 2015-07-15 03:50 +0200
Re: 答复: [BUG REPORT] OOM Killer is invoked while the system still has much memory David Rientjes <rientjes@google.com> - 2015-07-15 04:00 +0200
csiph-web