Re: Kernel 2.6.29 runs out of memory and hangs.

From: Zeno Davatz
Date: Mon Apr 27 2009 - 10:07:51 EST


On Mon, Apr 27, 2009 at 3:39 PM, Zeno Davatz <zdavatz@xxxxxxxxx> wrote:
> On Mon, Apr 27, 2009 at 3:35 PM, Greg Stark <gsstark@xxxxxxx> wrote:
>> On Sun, Apr 26, 2009 at 8:55 PM, David Rientjes <rientjes@xxxxxxxxxx> wrote:
>>> 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.)
>>
>> Surely anything that important ought to be running with overcommit
>> disabled anyways.
>
> Where do I enable or disable overcommit?

Ok, I found this one as well:

Documentation/vm/overcommit-accounting

and

http://www.linuxdevcenter.com/pub/a/linux/2006/11/30/linux-out-of-memory.html?page=2

is a useful article for the beginner.

Best
Zeno
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/