@whitequark@social.treehouse.systems
Post #1546546
2026-04-14 14:26 UTC
@cks @pmarheine @regehr @dotstdy @tedmielczarek but I don't want them to collectively OOM, I want them to serialize themselves
Replies (1)
-
@cks@mastodon.social 2026-04-14 14:39
@whitequark @pmarheine @regehr @dotstdy @tedmielczarek It looks like there's no good support for this in systemd/cgroup right now. Systemd has an API for getting memory pressure information¹, but I don't know of any command line programs you can run to watch this and take action for subordinate processes. Cgroup(v2) can freeze an entire cgroup² by writing to cgroup.freeze, but again one would have to write tooling around this. ¹ https://systemd.io/MEMORY_PRESSURE/ ² https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html