diff options
author | Ryan Wilson <ryantimwilson@meta.com> | 2024-10-15 05:49:54 +0200 |
---|---|---|
committer | Ryan Wilson <ryantimwilson@meta.com> | 2024-10-17 05:12:38 +0200 |
commit | 63d4c4271ca529f8357a84cbc075170fffdb3de8 (patch) | |
tree | e8a1c9c0dfe0bd0ecc76daabaa7b8352747952b1 /docs/MINIMAL_BUILDS.md | |
parent | oomd: Refactor DefaultMemoryPressureDurationSec= to use conf parser (diff) | |
download | systemd-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/MINIMAL_BUILDS.md')
0 files changed, 0 insertions, 0 deletions