From: Michal Hocko <mhocko@kernel.org>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: bugzilla-daemon@bugzilla.kernel.org, linux-mm@kvack.org,
rtc@helen.plasma.xg8.de
Subject: Re: [Bug 190351] New: OOM but no swap used
Date: Fri, 6 Jan 2017 09:31:26 +0100 [thread overview]
Message-ID: <20170106083125.GC5556@dhcp22.suse.cz> (raw)
In-Reply-To: <20170105114611.8b0fa5d3ec779e8a71b3973c@linux-foundation.org>
On Thu 05-01-17 11:46:11, Andrew Morton wrote:
[...]
> > Since upgrading from kernel-PAE 4.5.3 on fedora 24 to kernel-PAE 4.8.10 on
> > fedora 25, I get OOM when I run my daily rsync for backup. I upgraded to
> > kernel-PAE-4.9.0-1.fc26.i686 and the problem still occurs. The OOM occurs
> > although the system doesn't use any swap and memory is not used up either.
> >
> > See https://bugzilla.redhat.com/show_bug.cgi?id=1401012
> >
> > Here is the dmesg from today:
> >
> > [32863.748720] gpg-agent invoked oom-killer:
> > gfp_mask=0x27000c0(GFP_KERNEL_ACCOUNT|__GFP_NOTRACK), nodemask=0, order=1, oom_score_adj=0
this is a lowmem request
[...]
> > [32863.748789] active_anon:122505 inactive_anon:129240 isolated_anon:0
> > active_file:174922 inactive_file:371696 isolated_file:64
> > unevictable:8 dirty:0 writeback:0 unstable:0
> > slab_reclaimable:186174 slab_unreclaimable:17717
> > mapped:69769 shmem:11168 pagetables:2174 bounce:0
> > free:13565 free_pcp:660 free_cma:0
there is a lot of page cache and anonymous memory but...
> > [32863.748792] Node 0 active_anon:490020kB inactive_anon:516960kB
> > active_file:699688kB inactive_file:1486784kB unevictable:32kB
> > isolated(anon):0kB isolated(file):256kB mapped:279076kB dirty:0kB writeback:0kB
> > shmem:44672kB writeback_tmp:0kB unstable:0kB pages_scanned:9963129
> > all_unreclaimable? yes
> > [32863.748795] DMA free:3260kB min:68kB low:84kB high:100kB active_anon:0kB
> > inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB
> > writepending:0kB present:15992kB managed:15916kB mlocked:0kB
> > slab_reclaimable:12460kB slab_unreclaimable:132kB kernel_stack:64kB
> > pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
> > [32863.748796] lowmem_reserve[]: 0 798 4005 4005
> > [32863.748801] Normal free:3880kB min:3580kB low:4472kB high:5364kB
> > active_anon:0kB inactive_anon:0kB active_file:1220kB inactive_file:68kB
> > unevictable:0kB writepending:0kB present:892920kB managed:830896kB mlocked:0kB
no anonymous memory is from eligible zones. There is some pagecache but
1.2MB doesn't sound all that much. There is a known regression from 4.8
when the active list aging is broken with memcg enabled but I am not
sure this would make much of a difference here. You can try
http://lkml.kernel.org/r/20170104100825.3729-1-mhocko@kernel.org
but it seems that the problem you are seeing is really the lowmem
depletion which is hard to come around with 32b kernels.
> > slab_reclaimable:732236kB slab_unreclaimable:70736kB kernel_stack:2560kB
slab consumption is really high. It has eaten a majority of the lowmem.
I would focus on who is eating that memory. Try to watch /proc/slabinfo
for anomalies.
> > pagetables:0kB bounce:0kB free_pcp:1252kB local_pcp:624kB free_cma:0kB
--
Michal Hocko
SUSE Labs
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2017-01-06 8:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-190351-27@https.bugzilla.kernel.org/>
2017-01-05 19:46 ` [Bug 190351] New: OOM but no swap used Andrew Morton
2017-01-06 8:31 ` Michal Hocko [this message]
2017-01-06 12:00 ` Tetsuo Handa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170106083125.GC5556@dhcp22.suse.cz \
--to=mhocko@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=bugzilla-daemon@bugzilla.kernel.org \
--cc=linux-mm@kvack.org \
--cc=rtc@helen.plasma.xg8.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).