mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.6.31 and OOM killer = bug?
@ 2010-02-14 23:43 Anton Starikov
  2010-02-15  1:19 ` KAMEZAWA Hiroyuki
  0 siblings, 1 reply; 3+ messages in thread
From: Anton Starikov @ 2010-02-14 23:43 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1289 bytes --]

Hi,

The setup:
is 16-core opteron node, diskless with NFS root, swapless, 64GB of RAM. Operating under OpenSUSE 11.2. With kernel version 2.6.31. Although it isn't vanilla, I think probably more right is to submit this into LKML.

The problem:
On this node user run MPI job with 16 processes, local job by using shared memory communication.  
At some point this processes are trying to use more memory that available.
Normally, all of them or part of them would be killed by OOM killer, and it use to work for years over many versions of kernel.

Now, with fresh setup I got something new. OOM tried to kill, but didn't succeed, and even more, brought system in unusable state. All those processes are locked and un-killable. some of other processes are also locked and un-killable/inaccessible. kswapd consume 100% CPU (which I think is expected behavior when there is no free memory). 
No free memory obviously, cause all original processes are still in memory.

I tried to test OOM behavior and it always happens like that now.

Here I attach full gzipped log of all related information captured by logserver (sent by logserver and netconsole, so it can be partly doubled). Sorry that it is too big, but I didn't know what information can be important.

Anton.




[-- Attachment #2: fixedlog.txt.gz --]
[-- Type: application/x-gzip, Size: 39050 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.31 and OOM killer = bug?
  2010-02-14 23:43 2.6.31 and OOM killer = bug? Anton Starikov
@ 2010-02-15  1:19 ` KAMEZAWA Hiroyuki
  2010-02-15 11:16   ` Anton Starikov
  0 siblings, 1 reply; 3+ messages in thread
From: KAMEZAWA Hiroyuki @ 2010-02-15  1:19 UTC (permalink / raw)
  To: Anton Starikov; +Cc: linux-kernel, linux-mm

On Mon, 15 Feb 2010 00:43:02 +0100
Anton Starikov <ant.starikov@gmail.com> wrote:

> Hi,
> 
> The setup:
> is 16-core opteron node, diskless with NFS root, swapless, 64GB of RAM. Operating under OpenSUSE 11.2. With kernel version 2.6.31. Although it isn't vanilla, I think probably more right is to submit this into LKML.
> 

At first, what is the version of kernel you are comparing with ? 2.6.22?(If OpenSuse10)
If so, many changes since that..

> The problem:
> On this node user run MPI job with 16 processes, local job by using shared memory communication.  
> At some point this processes are trying to use more memory that available.
> Normally, all of them or part of them would be killed by OOM killer, and it use to work for years over many versions of kernel.
> 
> Now, with fresh setup I got something new. OOM tried to kill, but didn't succeed, and even more, brought system in unusable state. All those processes are locked and un-killable. some of other processes are also locked and un-killable/inaccessible. kswapd consume 100% CPU (which I think is expected behavior when there is no free memory). 
> No free memory obviously, cause all original processes are still in memory.
> 
> I tried to test OOM behavior and it always happens like that now.
> 
> Here I attach full gzipped log of all related information captured by logserver (sent by logserver and netconsole, so it can be partly doubled). Sorry that it is too big, but I didn't know what information can be important.
> 

Anyway, I think it's not appreciated to depend on OOM-Kill on swapless-system.
I recommend you to use cgroup "memory" to encapsulate your apps (but please check
the performance regression can be seen or not..)

Thanks,
-Kame


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.6.31 and OOM killer = bug?
  2010-02-15  1:19 ` KAMEZAWA Hiroyuki
@ 2010-02-15 11:16   ` Anton Starikov
  0 siblings, 0 replies; 3+ messages in thread
From: Anton Starikov @ 2010-02-15 11:16 UTC (permalink / raw)
  To: KAMEZAWA Hiroyuki; +Cc: linux-kernel, linux-mm


On Feb 15, 2010, at 2:19 AM, KAMEZAWA Hiroyuki wrote:
> At first, what is the version of kernel you are comparing with ? 2.6.22?(If OpenSuse10)
> If so, many changes since that..


Latest kernel version where OOM killer worked as it should in our setup was 2.6.29.

> Anyway, I think it's not appreciated to depend on OOM-Kill on swapless-system.
> I recommend you to use cgroup "memory" to encapsulate your apps (but please check
> the performance regression can be seen or not..)

OK, I will check it.

Thanks, 
Anton.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-15 11:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-14 23:43 2.6.31 and OOM killer = bug? Anton Starikov
2010-02-15  1:19 ` KAMEZAWA Hiroyuki
2010-02-15 11:16   ` Anton Starikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®