lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0904261252010.18988@chino.kir.corp.google.com>
Date:	Sun, 26 Apr 2009 12:55:28 -0700 (PDT)
From:	David Rientjes <rientjes@...gle.com>
To:	Zeno Davatz <zdavatz@...il.com>
cc:	linux-kernel@...r.kernel.org, Hannes Wyss <hwyss@...see.com>
Subject: Re: Kernel 2.6.29 runs out of memory and hangs.

On Sat, 25 Apr 2009, Zeno Davatz wrote:

> Couldn't you start killing processes at an earlier stage? It seems to
> me that the stage when processes are being killed by oom_killer is a
> bit late in the game, when the machine is anyway very close to the
> freezing point. I mean we had these messages of oom_kill several times
> in our /var/log/kernel/current over a distributed amount of time.
> 

The oom killer serves a very well-defined purpose: to kill a 
memory-hogging task when your system (or cpuset, memory controller) is out 
of memory.  When it kills a task, it also allows access to memory reserves 
that allow it to allocate beyond each allowable zone's min watermark.  
This is intended to allow the task to quickly exit.

There is work being done on a per-cgroup lowmem notifier which would allow 
userspace to poll() on a device file and be notified of low memory 
situations so that it can react on its own (like killing a low priority 
task, expanding a cpuset, increasing a memcontroller limit, etc.)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ