9 lines
374 B
Plaintext
9 lines
374 B
Plaintext
# Managed by the mesh (module memory-pressure). Replaced on every push; edit the catalogue instead.
|
|
#
|
|
# systemd-oomd kills the worst unit before the kernel's OOM killer freezes the machine: when swap is
|
|
# 90 % used, or when a watched unit stalls on memory for 20 s above its limit.
|
|
[OOM]
|
|
SwapUsedLimit=90%
|
|
DefaultMemoryPressureLimit=60%
|
|
DefaultMemoryPressureDurationSec=20s
|