Skip to content

Commit 011acdf

Browse files
committed
runtime-config: defer description to linux docs
Signed-off-by: Vincent Batts <[email protected]>
1 parent 153f13c commit 011acdf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

runtime-config-linux.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,10 @@ For more information, see [the memory cgroup man page](https://www.kernel.org/do
180180

181181
#### Set oom_score_adj
182182

183-
oom_score_adj works with disableOOMKiller. If out-of-memory killer enabled("disableOOMKiller": false), oom_score_adj can be set to adjust the oom-killer score, the value of oom_score_adj is added to the badness score before it is used to determine which task to kill. If out-of-memory killer disabled("disableOOMKiller": true), the value of oom_score_adj is useless and will be omitted. For more information, see [the proc filesystem man page](https://www.kernel.org/doc/Documentation/filesystems/proc.txt).
183+
`oomScoreAdj` sets heuristic regarding how the process is evaluated by the kernel during memory pressure.
184+
For more information, see [the proc filesystem documentation section 3.1](https://www.kernel.org/doc/Documentation/filesystems/proc.txt).
185+
This is a kernel/system level setting, where as `disableOOMKiller` is scoped for a memory cgroup.
186+
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).
184187

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

0 commit comments

Comments
 (0)