Skip to content

Commit 01ec62d

Browse files
author
Mrunal Patel
authored
Merge pull request #781 from wking/oomScoreAdj-rfc-2119
config-linux: RFC 2119 wording for oomScoreAdj
2 parents 8976b0a + e9a39e7 commit 01ec62d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config-linux.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,13 +265,13 @@ For more information, see [the memory cgroup man page][cgroup-v1-memory].
265265

266266
#### <a name="configLinuxSetOomScoreAdj" />Set oom_score_adj
267267

268-
`oomScoreAdj` sets heuristic regarding how the process is evaluated by the kernel during memory pressure.
269-
For more information, see [the proc filesystem documentation section 3.1][procfs].
268+
* **`oomScoreAdj`** *(int, OPTIONAL)* adjusts the oom-killer score in `[pid]/oom_score_adj` for the container process's `[pid]` in a [proc pseudo-filesystem][procfs].
269+
If `oomScoreAdj` is set, the runtime MUST set `oom_score_adj` to the given value.
270+
If `oomScoreAdj` is not set, the runtime MUST NOT change the value of `oom_score_adj`.
271+
270272
This is a kernel/system level setting, where as `disableOOMKiller` is scoped for a memory cgroup.
271273
For more information on how these two settings work together, see [the memory cgroup documentation section 10. OOM Contol][cgroup-v1-memory].
272274

273-
* **`oomScoreAdj`** *(int, OPTIONAL)* - adjust the oom-killer score
274-
275275
###### Example
276276

277277
```json

0 commit comments

Comments
 (0)