Artifact
# drop-in: ~/.config/systemd/user/<unit>.service.d/oom.conf # Apply live with `systemctl --user daemon-reload` (no restart needed). [Service] # child OOM kills only that subprocess, not the whole unit: OOMPolicy=continue # contain a runaway to a cgroup OOM before it global-OOMs the host: MemoryHigh=10G MemoryMax=12G MemorySwapMax=512M
f699ec63-69e3-4a1f-8481-461667ce67d9
drop-in: ~/.config/systemd/user/.service.d/oom.conf
Apply live with systemctl --user daemon-reload (no restart needed).
[Service]
child OOM kills only that subprocess, not the whole unit:
OOMPolicy=continue
contain a runaway to a cgroup OOM before it global-OOMs the host:
MemoryHigh=10G MemoryMax=12G MemorySwapMax=512M