Etienne,

In trying to reproduce an OOM and loading issue using the stress test 
application,
one needs to consider how the OOM occurs and if can be fixed or helped by
tweaking the virtual memory settings.

Some suggested tweaks to try are as follows:

as root:

echo 2 > /proc/sys/vm/overcommit_memory

- this tells the kernel to use a "never overcommit" policy that attempts
to prevent any overcommit of memory.


echo 1 > /proc/sys/vm/oom_kill_allocating_task

- this makes the kernel kill the over commiting task rather than it's
best guess at the biggest overcommitting task

Colin

-- 
kernel 2.6.24 "Soft lockup" under load on VMWare ESX 3.5
https://bugs.launchpad.net/bugs/316187
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to