Skip to content

Commit

Permalink
Merge pull request #292 from vbatts/tiesheng_oomscoreadj
Browse files Browse the repository at this point in the history
runtime-config-linux: Add info to clarify oom_score_adj (carrying #236)
  • Loading branch information
vishh committed Jan 6, 2016
2 parents dd17705 + 011acdf commit 6a6ba67
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion runtime-config-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,14 @@ For more information, see [the memory cgroup man page](https://www.kernel.org/do

#### Set oom_score_adj

More information on `oom_score_adj` available [here](https://www.kernel.org/doc/Documentation/filesystems/proc.txt).
`oomScoreAdj` sets heuristic regarding how the process is evaluated by the kernel during memory pressure.
For more information, see [the proc filesystem documentation section 3.1](https://www.kernel.org/doc/Documentation/filesystems/proc.txt).
This is a kernel/system level setting, where as `disableOOMKiller` is scoped for a memory cgroup.
For more information on how these two settings work together, see [the memory cgroup documentation section 10. OOM Contol](https://www.kernel.org/doc/Documentation/cgroups/memory.txt).

* **`oomScoreAdj`** *(int, optional)* - adjust the oom-killer score

###### Example

###### Example

Expand Down

0 comments on commit 6a6ba67

Please sign in to comment.