about summary refs log tree commit diff
path: root/nixos/doc/manual
diff options
context:
space:
mode:
authorSaltyKitkat <56984513+SaltyKitkat@users.noreply.github.com>2023-12-14 16:38:29 +0800
committerSaltyKitkat <56984513+SaltyKitkat@users.noreply.github.com>2023-12-14 16:38:29 +0800
commit5e57448d4fc2d791beb183dd71798a033f72da42 (patch)
treeb11c4a3c0464cfe5d8de12b7fff44b1cbb6b9e69 /nixos/doc/manual
parent679a417a7a0c5df4a3206a19a0867adc0fa4099b (diff)
downloadnixlib-5e57448d4fc2d791beb183dd71798a033f72da42.tar
nixlib-5e57448d4fc2d791beb183dd71798a033f72da42.tar.gz
nixlib-5e57448d4fc2d791beb183dd71798a033f72da42.tar.bz2
nixlib-5e57448d4fc2d791beb183dd71798a033f72da42.tar.lz
nixlib-5e57448d4fc2d791beb183dd71798a033f72da42.tar.xz
nixlib-5e57448d4fc2d791beb183dd71798a033f72da42.tar.zst
nixlib-5e57448d4fc2d791beb183dd71798a033f72da42.zip
systemd/oomd: add release note for the backward incompatibility
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 2e9cd781ffb1..a8c83375d3c7 100644
--- a/nixos/doc/manual/release-notes/rl-2405.section.md
+++ b/nixos/doc/manual/release-notes/rl-2405.section.md
@@ -41,6 +41,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. -->