All of lore.kernel.org
 help / color / mirror / Atom feed
From: Han Pingtian <hanpt@linux.vnet.ibm.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Michal Hocko <mhocko@suse.cz>, Christoph Lameter <cl@linux.com>,
	penberg@kernel.org, rientjes@google.com, linux-mm@kvack.org
Subject: Re: OOM-killer and strange RSS value in 3.9-rc7
Date: Thu, 2 May 2013 18:56:37 +0800	[thread overview]
Message-ID: <20130502105637.GD4441@localhost.localdomain> (raw)
In-Reply-To: <20130429145711.GC1172@dhcp22.suse.cz>

On Mon, Apr 29, 2013 at 04:57:11PM +0200, Michal Hocko wrote:
> On Mon 29-04-13 14:50:08, Christoph Lameter wrote:
> > On Sat, 27 Apr 2013, Han Pingtian wrote:
> > 
> > > and it is called so many times that the boot cannot be finished. So
> > > maybe the memory isn't freed even though __free_slab() get called?
> > 
> > Ok that suggests an issue with the page allocator then.
> 
> You seem to have CONFIG_MEMCG_KMEM enabled. Do you see the same issue
> when this is disabled? The kmem accounting should be disabled unless a
> specific limit is set but it would be better to know that this is not
> the factor.
> 
I have tested to disable CONFIG_MEMCG_KMEM. But it doesn't solve this
problem, I can still trigger the OOM by compiling kernel.

Now I suspect the problem comes from the driver "ibmvscsi". Because on another
power 7 system, which doesn't use ibmvscsi, there is no such OOM
problem here. For now, looks like only systems using ibmvscsi can
trigger this OOM problem. I have rebooted one of the ibmvscsi systems
with "init=/bin/sh" and compared the loaded modules with one of the
none-ibmvscsi system with "comm":

	$ comm -13 --check-order none-ibmvscsi.txt ibmvscsi.txt
	ibmvscsi
	nx_crypto
	scsi_transport_srp

the scsi_transport_srp is used by ibmvscsi and I can rmmod the 
nx_crypto out. Then I launched the compiling process on the
single-user-booted ibmvscsi system. The OOM can still be
produced on it.

Looks like "ibmvscsi" + "slub" can trigger this problem.

--
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>

WARNING: multiple messages have this Message-ID (diff)
From: Han Pingtian <hanpt@linux.vnet.ibm.com>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Michal Hocko <mhocko@suse.cz>, Christoph Lameter <cl@linux.com>,
	penberg@kernel.org, rientjes@google.com, linux-mm@kvack.org
Subject: Re: OOM-killer and strange RSS value in 3.9-rc7
Date: Thu, 2 May 2013 18:56:37 +0800	[thread overview]
Message-ID: <20130502105637.GD4441@localhost.localdomain> (raw)
In-Reply-To: <20130429145711.GC1172@dhcp22.suse.cz>

On Mon, Apr 29, 2013 at 04:57:11PM +0200, Michal Hocko wrote:
> On Mon 29-04-13 14:50:08, Christoph Lameter wrote:
> > On Sat, 27 Apr 2013, Han Pingtian wrote:
> > 
> > > and it is called so many times that the boot cannot be finished. So
> > > maybe the memory isn't freed even though __free_slab() get called?
> > 
> > Ok that suggests an issue with the page allocator then.
> 
> You seem to have CONFIG_MEMCG_KMEM enabled. Do you see the same issue
> when this is disabled? The kmem accounting should be disabled unless a
> specific limit is set but it would be better to know that this is not
> the factor.
> 
I have tested to disable CONFIG_MEMCG_KMEM. But it doesn't solve this
problem, I can still trigger the OOM by compiling kernel.

Now I suspect the problem comes from the driver "ibmvscsi". Because on another
power 7 system, which doesn't use ibmvscsi, there is no such OOM
problem here. For now, looks like only systems using ibmvscsi can
trigger this OOM problem. I have rebooted one of the ibmvscsi systems
with "init=/bin/sh" and compared the loaded modules with one of the
none-ibmvscsi system with "comm":

	$ comm -13 --check-order none-ibmvscsi.txt ibmvscsi.txt
	ibmvscsi
	nx_crypto
	scsi_transport_srp

the scsi_transport_srp is used by ibmvscsi and I can rmmod the 
nx_crypto out. Then I launched the compiling process on the
single-user-booted ibmvscsi system. The OOM can still be
produced on it.

Looks like "ibmvscsi" + "slub" can trigger this problem.


  reply	other threads:[~2013-05-02 10:56 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-16 11:00 OOM-killer and strange RSS value in 3.9-rc7 Han Pingtian
2013-04-16 20:16 ` David Rientjes
2013-04-17  8:46   ` Han Pingtian
2013-04-21  0:49     ` Jiri Kosina
2013-04-22  3:15       ` Han Pingtian
2013-04-17  9:47   ` Han Pingtian
2013-04-17 14:19     ` Michal Hocko
2013-04-18 10:15       ` Han Pingtian
2013-04-18 14:17         ` Michal Hocko
2013-04-18 16:55           ` Han Pingtian
2013-04-18 17:55             ` Michal Hocko
2013-04-19  2:33               ` Han Pingtian
2013-04-19 16:43                 ` Michal Hocko
2013-04-22  3:18                   ` Han Pingtian
2013-04-22 11:40                     ` Michal Hocko
2013-04-23  4:22                       ` Han Pingtian
2013-04-23 13:15                         ` Michal Hocko
2013-04-24  4:48                           ` Han Pingtian
2013-04-24  9:47                             ` Michal Hocko
2013-04-24  9:47                               ` Michal Hocko
2013-04-24 15:36                               ` Christoph Lameter
2013-04-24 15:36                                 ` Christoph Lameter
2013-04-25  6:07                                 ` Han Pingtian
2013-04-25 17:17                                   ` Christoph Lameter
2013-04-25 17:17                                     ` Christoph Lameter
2013-04-27  8:20                                     ` Will Huck
2013-04-27  8:20                                       ` Will Huck
2013-04-29 14:49                                       ` Christoph Lameter
2013-04-29 14:49                                         ` Christoph Lameter
2013-05-01  3:13                                         ` Will Huck
2013-05-01  3:13                                           ` Will Huck
2013-05-02 15:10                                           ` Christoph Lameter
2013-05-02 15:10                                             ` Christoph Lameter
2013-05-09 13:17                                             ` Will Huck
2013-05-09 14:00                                               ` Christoph Lameter
2013-05-10  0:42                                                 ` Will Huck
2013-05-10 16:00                                                   ` Christoph Lameter
2013-04-25 18:24                                   ` Christoph Lameter
2013-04-25 18:24                                     ` Christoph Lameter
2013-04-26  6:24                                     ` Han Pingtian
2013-04-26  6:24                                       ` Han Pingtian
2013-04-26 14:42                                       ` Christoph Lameter
2013-04-26 14:42                                         ` Christoph Lameter
2013-04-27 11:24                                         ` Han Pingtian
2013-04-27 11:24                                           ` Han Pingtian
2013-04-29 14:50                                           ` Christoph Lameter
2013-04-29 14:50                                             ` Christoph Lameter
2013-04-29 14:57                                             ` Michal Hocko
2013-04-29 14:57                                               ` Michal Hocko
2013-05-02 10:56                                               ` Han Pingtian [this message]
2013-05-02 10:56                                                 ` Han Pingtian
2013-05-02 15:10                                                 ` Christoph Lameter
2013-05-02 15:10                                                   ` Christoph Lameter
2013-05-03  3:03                                                   ` Han Pingtian
2013-05-03  3:03                                                     ` Han Pingtian
2013-05-03 15:25                                                     ` Christoph Lameter
2013-05-03 15:25                                                       ` Christoph Lameter
2013-05-03 15:34                                                       ` Michal Hocko
2013-05-03 15:34                                                         ` Michal Hocko
2013-05-03 16:16                                                         ` Christoph Lameter
2013-05-03 16:16                                                           ` Christoph Lameter
2013-12-27 10:39                                                           ` Wanpeng Li
2014-01-06 13:15                                                             ` Wanpeng Li
     [not found]                                                             ` <52caac5c.27cb440a.533d.ffffbbd2SMTPIN_ADDED_BROKEN@mx.google.com>
2014-01-21 22:12                                                               ` David Rientjes
2014-01-21 22:12                                                                 ` David Rientjes
2014-01-22 23:45                                                                 ` Wanpeng Li
2013-04-25  5:41                               ` Han Pingtian
2013-04-25  5:41                                 ` Han Pingtian

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=20130502105637.GD4441@localhost.localdomain \
    --to=hanpt@linux.vnet.ibm.com \
    --cc=cl@linux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@suse.cz \
    --cc=penberg@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.