about summary refs log tree commit diff
path: root/nixos/doc/manual
diff options
context:
space:
mode:
authorWill Fancher <elvishjerricco@gmail.com>2023-12-29 18:47:49 -0500
committerGitHub <noreply@github.com>2023-12-29 18:47:49 -0500
commit9cab49c71bcaef42abb6cc8c7c561b03f017b8ca (patch)
tree07a117d5358140e3de098bfe56c8de89528c75ae /nixos/doc/manual
parent13de64bf635a6a7cd2990c6d86f9449843eb73a1 (diff)
parent5e57448d4fc2d791beb183dd71798a033f72da42 (diff)
downloadnixlib-9cab49c71bcaef42abb6cc8c7c561b03f017b8ca.tar
nixlib-9cab49c71bcaef42abb6cc8c7c561b03f017b8ca.tar.gz
nixlib-9cab49c71bcaef42abb6cc8c7c561b03f017b8ca.tar.bz2
nixlib-9cab49c71bcaef42abb6cc8c7c561b03f017b8ca.tar.lz
nixlib-9cab49c71bcaef42abb6cc8c7c561b03f017b8ca.tar.xz
nixlib-9cab49c71bcaef42abb6cc8c7c561b03f017b8ca.tar.zst
nixlib-9cab49c71bcaef42abb6cc8c7c561b03f017b8ca.zip
Merge pull request #273921 from SaltyKitkat/oomd
nixos/systemd: update oomd configuration
Diffstat (limited to 'nixos/doc/manual')
-rw-r--r--nixos/doc/manual/release-notes/rl-2405.section.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2405.section.md b/nixos/doc/manual/release-notes/rl-2405.section.md
index 8e139967cfed..a1d26f6a12f7 100644
--- a/nixos/doc/manual/release-notes/rl-2405.section.md
+++ b/nixos/doc/manual/release-notes/rl-2405.section.md
@@ -76,6 +76,17 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
 
   `CONFIG_FILE_NAME` includes `bpf_pinning`, `ematch_map`, `group`, `nl_protos`, `rt_dsfield`, `rt_protos`, `rt_realms`, `rt_scopes`, and `rt_tables`.
 
+- The `systemd.oomd` module behavior is changed as:
+
+  - Raise ManagedOOMMemoryPressureLimit from 50% to 80%. This should make systemd-oomd kill things less often, and fix issues like [this](https://pagure.io/fedora-workstation/issue/358).
+    Reference: [commit](https://src.fedoraproject.org/rpms/systemd/c/806c95e1c70af18f81d499b24cd7acfa4c36ffd6?branch=806c95e1c70af18f81d499b24cd7acfa4c36ffd6)
+
+  - Remove swap policy. This helps prevent killing processes when user's swap is small.
+
+  - Expand the memory pressure policy to system.slice, user-.slice, and all user owned slices. Reference: [commit](https://src.fedoraproject.org/rpms/systemd/c/7665e1796f915dedbf8e014f0a78f4f576d609bb)
+
+  - `systemd.oomd.enableUserServices` is renamed to `systemd.oomd.enableUserSlices`.
+
 ## Other Notable Changes {#sec-release-24.05-notable-changes}
 
 <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->