2 Commits

Author SHA1 Message Date
Andrey Smirnov
2f23fedeb7
fix: file leak in reading cgroups
Ensure to close the file.
This bug is only in `main` I believe.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-10-15 18:24:30 +04:00
Dmitrii Sharshakov
251df70f6d
feat: add a userspace OOM controller
OOM controller helps mitigate out-of-memory by monitoring PSI, selecting
and killing cgroups to free up memory when RAM is near full.

Add config document and tests.

Signed-off-by: Dmitrii Sharshakov <dmitry.sharshakov@siderolabs.com>
Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
2025-09-25 19:32:26 +02:00