8 lines
385 B
Plaintext
8 lines
385 B
Plaintext
# systemd-oomd for Claude and its containers: when they run the VM out of memory, kill the cgroup
|
|
# responsible before the VM thrashes on zram swap or the kernel's OOM killer picks sshd.
|
|
[Slice]
|
|
# Memory pressure above 60% for 30s: kill the cgroup reclaiming the most memory.
|
|
ManagedOOMMemoryPressure=kill
|
|
# Swap over 90% full: kill the cgroup using the most swap.
|
|
ManagedOOMSwap=kill
|