1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-23 02:04:32 +03:00
Ryan Wilson 63d4c4271c 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.
2024-10-16 20:12:38 -07:00
..
2024-03-16 03:14:23 +09:00
2019-12-11 17:04:20 +01:00
2024-03-27 07:11:54 +01:00
2024-03-27 07:11:55 +01:00
2024-10-17 00:49:59 +09:00
2019-12-11 17:04:20 +01:00
2024-04-26 14:57:22 +02:00
2024-03-27 07:12:00 +01:00
2024-03-27 07:12:01 +01:00
2024-03-27 07:12:01 +01:00
2024-03-27 07:12:04 +01:00
2024-03-15 04:04:01 +09:00