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, 21 Feb 2013 16:31:04 +1030 [thread overview]
Message-ID: <20130221060104.GG10716@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:
> >> > Better yet would be to try to upgrade these machines to a more recent
> >> > kernel to see if it is already fixed. Are we allowed to upgrade or at
> >> > least enable kmemleak?
> > Upgrading to a recent kernel would be a possibility if it was proven to fix
> > the problem; doing it "just to check" will be impossible I fear, at least on
> > the production systems. Enabling KMEMLEAK on 2.6.35.x may be doable.
> >
> > 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.
I am currently running a test using the 3.7.9 kernel (the latest stable
release at the time of downloading). I am not yet convinced that the
problem is showing itself under this kernel; while the relevant kmalloc
statistics did climb over the first day or so, they seem to have settled for
the moment (which is more or less what I'd expect). I intend to keep the
test running over the coming weekend and evaluate the slabinfo after that
(I've been taking daily snapshots of it).
My intention after this is to return to the kernel which has shown the
problem (2.6.35.11), compile it with kmemleak enabled and see if it shows up
anything interesting.
This 3.7.9 does have kmemleak enabled and it has thrown two reports. Both
are tiny and insignificant, and both seem to relate to code which runs only
at boot time. However, someone might be interested in them so I'll include
them at the end of this mail.
Regards
jonathan
unreferenced object 0xf415f290 (size 8):
comm "swapper/0", pid 1, jiffies 4294668872 (age 170230.022s)
hex dump (first 8 bytes):
68 6f 73 74 30 00 00 00 host0...
backtrace:
[<c1a86f3c>] kmemleak_alloc+0x2c/0x60
[<c111d11d>] __kmalloc_track_caller+0xbd/0x180
[<c1539993>] kvasprintf+0x33/0x60
[<c152eb42>] kobject_set_name_vargs+0x32/0x70
[<c15db8c9>] dev_set_name+0x19/0x20
[<c16182ee>] scsi_host_alloc+0x22e/0x2d0
[<c16183a8>] scsi_register+0x18/0x80
[<c1e4092d>] aha1542_detect+0x100/0x7c0
[<c1e4104c>] init_this_scsi_driver+0x5f/0xc4
[<c1001124>] do_one_initcall+0x34/0x170
[<c1e0b55e>] kernel_init_freeable+0x118/0x1b3
[<c1a856f0>] kernel_init+0x10/0xe0
[<c1aba577>] ret_from_kernel_thread+0x1b/0x28
[<ffffffff>] 0xffffffff
unreferenced object 0xf415f298 (size 8):
comm "swapper/0", pid 1, jiffies 4294668873 (age 170230.021s)
hex dump (first 8 bytes):
68 6f 73 74 31 00 00 00 host1...
backtrace:
[<c1a86f3c>] kmemleak_alloc+0x2c/0x60
[<c111d11d>] __kmalloc_track_caller+0xbd/0x180
[<c1539993>] kvasprintf+0x33/0x60
[<c152eb42>] kobject_set_name_vargs+0x32/0x70
[<c15db8c9>] dev_set_name+0x19/0x20
[<c16182ee>] scsi_host_alloc+0x22e/0x2d0
[<c16183a8>] scsi_register+0x18/0x80
[<c1e4092d>] aha1542_detect+0x100/0x7c0
[<c1e4104c>] init_this_scsi_driver+0x5f/0xc4
[<c1001124>] do_one_initcall+0x34/0x170
[<c1e0b55e>] kernel_init_freeable+0x118/0x1b3
[<c1a856f0>] kernel_init+0x10/0xe0
[<c1aba577>] ret_from_kernel_thread+0x1b/0x28
[<ffffffff>] 0xffffffff
--
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-21 6:01 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
2013-02-21 6:01 ` Jonathan Woithe [this message]
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=20130221060104.GG10716@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