Gentoo Archives: gentoo-user

From: Kerin Millar <kerframil@×××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: OOM memory issues
Date: Thu, 18 Sep 2014 19:16:45
Message-Id: 541B2F93.6090509@fastmail.co.uk
In Reply to: [gentoo-user] Re: OOM memory issues by James
1 On 18/09/2014 19:27, James wrote:
2 > Kerin Millar <kerframil <at> fastmail.co.uk> writes:
3 >
4 >
5 >> The need for the OOM killer stems from the fact that memory can be
6 >> overcommitted. These articles may prove informative:
7 >
8 >> http://lwn.net/Articles/317814/
9 >
10 > Yea I saw this article. Its dated February 4, 2009. How much has
11 > changed with the kernel/configs/userspace mechanism? Nothing, everything?
12
13 A new tunable, "oom_score_adj", was added, which accepts values between
14 0 and 1000.
15
16 https://github.com/torvalds/linux/commit/a63d83f#include/linux/oom.h
17
18 As mentioned there, the "oom_adj" tunable remains for reasons of
19 backward compatibility. Setting one will adjust the other per the
20 appropriate scale.
21
22 It doesn't look as though Karthikesan's proposal for a cgroup based
23 controller was ever accepted.
24
25 --Kerin

Replies

Subject Author
[gentoo-user] Re: OOM memory issues James <wireless@×××××××××××.com>