summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRyan Wilson <ryantimwilson@meta.com>2024-10-15 05:49:54 +0200
committerRyan Wilson <ryantimwilson@meta.com>2024-10-17 05:12:38 +0200
commit63d4c4271ca529f8357a84cbc075170fffdb3de8 (patch)
treee8a1c9c0dfe0bd0ecc76daabaa7b8352747952b1 /docs
parentoomd: Refactor DefaultMemoryPressureDurationSec= to use conf parser (diff)
downloadsystemd-63d4c4271ca529f8357a84cbc075170fffdb3de8.tar.xz
systemd-63d4c4271ca529f8357a84cbc075170fffdb3de8.zip
cgroup: Add ManagedOOMMemoryPressureDurationSec= override setting for units
This will allow units (scopes/slices/services) to override the default systemd-oomd setting DefaultMemoryPressureDurationSec=. The semantics of ManagedOOMMemoryPressureDurationSec= are: - If >= 1 second, overrides DefaultMemoryPressureDurationSec= from oomd.conf - If is empty, uses DefaultMemoryPressureDurationSec= from oomd.conf - Ignored if ManagedOOMMemoryPressure= is not "kill" - Disallowed if < 1 second Note the corresponding dbus property is DefaultMemoryPressureDurationUSec which is in microseconds. This is consistent with other time-based dbus properties.
Diffstat (limited to 'docs')
-rw-r--r--docs/TRANSIENT-SETTINGS.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/TRANSIENT-SETTINGS.md b/docs/TRANSIENT-SETTINGS.md
index e219131ce6..ebb8ba536a 100644
--- a/docs/TRANSIENT-SETTINGS.md
+++ b/docs/TRANSIENT-SETTINGS.md
@@ -281,6 +281,7 @@ All cgroup/resource control settings are available for transient units
✓ ManagedOOMSwap=
✓ ManagedOOMMemoryPressure=
✓ ManagedOOMMemoryPressureLimit=
+✓ ManagedOOMMemoryPressureDurationSec=
✓ ManagedOOMPreference=
✓ CoredumpReceive=
```