commit | d200fc1e89ffd6f588324387ef2e8419f2e1fb44 | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Oct 24 15:44:16 2012 +0400 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Oct 24 16:44:09 2012 +0400 |
tree | b63ed3e38e1112e5e6709244b30b784389d80a07 | |
parent | e7d97c5997c2240dc7b9648f8c5b6573cfa97b3f [diff] |
Add OOM adjustments Since kernel 042stab056 we have a kernel mechanism to auto-adjust process oom_score based on it's name, parent name, and pid. This is very useful in multi-container system, especially for old distros which are not oom-score aware. OOM groups configuration is in /etc/vz/oom-groups.conf which is applied to the kernel by /etc/init.d/vz script on start. References: PSBM-12263, PSBM-13729 Signed-off-by: Kir Kolyshkin <kir@openvz.org>