1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/loki/files/loki-override.conf
Jan Alexander Steffens (heftig) a2fd81c717 roles/loki: Install custom OOM configuration
- When loki hits 5.5G RSS, aggressively reclaim its memory. This puts
  it under memory pressure.
- When loki hits 6G RSS, invoke the kernel OOM killer.
- When loki is under severe memory pressure, have systemd-oomd kill it.
2021-09-27 18:30:49 +02:00

6 lines
103 B
Plaintext

[Service]
MemoryHigh=5.5G
MemoryMax=6G
ManagedOOMMemoryPressure=kill
ManagedOOMMemoryPressureLimit=60%