1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/common/files/oomd-override_user@.service.conf
Jan Alexander Steffens (heftig) 698a28c6fc roles/common: Install generic OOM configuration
- Allow killing of any cgroup if swap is about to run out. When swap is
  at least 90% full, oomd will kill a cgroup, tending to kill the cgroup
  with the highest swap usage.
- Allow killing cgroups of logged in users under severe memory pressure.
  When a cgroup is stalled waiting for memory at least 60% of the time,
  for at least 30 seconds, oomd will attempt to kill it or one of its
  descendant cgroups.
2021-09-27 18:30:49 +02:00

4 lines
74 B
Plaintext

[Service]
ManagedOOMMemoryPressure=kill
ManagedOOMMemoryPressureLimit=60%