Skip to content

Commit 6a6ba67

Browse files
committed
Merge pull request opencontainers#292 from vbatts/tiesheng_oomscoreadj
runtime-config-linux: Add info to clarify oom_score_adj (carrying opencontainers#236)
2 parents dd17705 + 011acdf commit 6a6ba67

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

runtime-config-linux.md

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

209209
#### Set oom_score_adj
210210

211-
More information on `oom_score_adj` available [here](https://www.kernel.org/doc/Documentation/filesystems/proc.txt).
211+
`oomScoreAdj` sets heuristic regarding how the process is evaluated by the kernel during memory pressure.
212+
For more information, see [the proc filesystem documentation section 3.1](https://www.kernel.org/doc/Documentation/filesystems/proc.txt).
213+
This is a kernel/system level setting, where as `disableOOMKiller` is scoped for a memory cgroup.
214+
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).
215+
216+
* **`oomScoreAdj`** *(int, optional)* - adjust the oom-killer score
217+
218+
###### Example
212219

213220
###### Example
214221

0 commit comments

Comments
 (0)