mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
- 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.
4 lines
74 B
Plaintext
4 lines
74 B
Plaintext
[Service]
|
|
ManagedOOMMemoryPressure=kill
|
|
ManagedOOMMemoryPressureLimit=60%
|