From: Jonathan Woithe <jwoithe@atrad.com.au>
To: Dave Hansen <dave@linux.vnet.ibm.com>
Cc: David Rientjes <rientjes@google.com>,
linux-mm@kvack.org, Jonathan Woithe <jwoithe@atrad.com.au>
Subject: Re: OOM triggered with plenty of memory free
Date: Thu, 14 Feb 2013 09:19:31 +1030 [thread overview]
Message-ID: <20130213224931.GA23154@marvin.atrad.com.au> (raw)
In-Reply-To: <511BADEA.3070403@linux.vnet.ibm.com>
On Wed, Feb 13, 2013 at 07:14:50AM -0800, Dave Hansen wrote:
> On 02/12/2013 08:25 PM, Jonathan Woithe wrote:
> > I will see whether I can gain access to a test system and if so, try a more
> > recent kernel to see if it makes any difference.
> >
> > I'll advise which of these options proves practical as soon as possible and
> > report any findings which come out of them.
>
> Are there any non-upstream bits in the kernel? Any third-party drivers
> or filesystems?
No to all three questions. The kernel is a plain unpatched kernel.org
2.6.35.11 kernel compiled with the configuration I included in the original
email. No third party modules have been loaded.
I should add that I have managed to get access to a test system and over the
next few days I will run tests on a number of kernels to try to narrow down
some of the unknowns associated with this problem.
> David's analysis looks spot-on. The only other thing I'll add is that
> it just looks weird that all three kmalloc() caches are so _even_:
>
> >> kmalloc-128 1234556 1235168 128 32 1 : tunables 0 0 0 : slabdata 38599 38599 0
> >> kmalloc-64 1238117 1238144 64 64 1 : tunables 0 0 0 : slabdata 19346 19346 0
> >> kmalloc-32 1236600 1236608 32 128 1 : tunables 0 0 0 : slabdata 9661 9661 0
>
> It's almost like something goes and does 3 allocations in series and
> leaks them all.
>
> There are also quite a few buffer_heads:
>
> > buffer_head 496273 640794 56 73 1 : tunables 0 0 0 : slabdata 8778 8778 0
>
> which seem out-of-whack for the small amount of memory being used for
> I/O-related stuff. That kinda points in the direction of I/O or
> filesystems.
As previously stated, there is a lot of network I/O going on (input to the
tune of 20 MBytes/s) but I don't know if this is the I/O class you're
referring to. We are also writing data to disc periodically, but since this
is post-process the amount is *much* less than the raw input rate (for the
data acquisition system we're talking of the order of 5 MBytes per minute or
less).
Regards
jonathan
--
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:[~2013-02-13 22:49 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-13 3:10 Jonathan Woithe
2013-02-13 3:30 ` David Rientjes
2013-02-13 4:25 ` Jonathan Woithe
2013-02-13 15:14 ` Dave Hansen
2013-02-13 22:49 ` Jonathan Woithe [this message]
2013-02-21 6:01 ` Jonathan Woithe
2013-02-26 6:39 ` Jonathan Woithe
2013-02-26 15:26 ` Dave Hansen
2013-02-26 20:54 ` Eric W. Biederman
2013-03-04 5:25 ` Jonathan Woithe
2013-02-20 5:50 ` Simon Jeons
2013-02-20 7:05 ` David Rientjes
2013-03-16 9:25 Hillf Danton
2013-03-16 9:33 ` Raymond Jennings
2013-03-16 11:02 ` Jonathan Woithe
2013-03-20 5:47 ` Jonathan Woithe
2013-03-21 7:07 ` Jonathan Woithe
2013-03-25 2:24 ` Jonathan Woithe
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=20130213224931.GA23154@marvin.atrad.com.au \
--to=jwoithe@atrad.com.au \
--cc=dave@linux.vnet.ibm.com \
--cc=linux-mm@kvack.org \
--cc=rientjes@google.com \
/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