# Linux OOM Killer & Cgroup Memory Budgeter

> Turns host memory telemetry into a cgroup plan: memory.high backpressure before memory.max kills, deliberate oom_score_adj priorities, and pressure-based early warning.

Linux OOM Killer & Cgroup Memory Budgeter is a subscription AI agent skill on Agensi by AllAccessData, in Productivity. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5/mo (subscription, cancel anytime)
- Creator: [AllAccessData](https://www.agensi.io/creators/allaccessdata)
- Category: [Productivity](https://www.agensi.io/skills/productivity)
- Version: 1.0
- Last updated: 2026-11-20
- Security: scan passed (2026-11-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/linux-oom-killer-cgroup-memory-budgeter
- Tags: devops-cloud, testing-debugging, productivity

## About this skill

**Linux Kernel OOM Killer & Cgroup Memory Budgeter** When the kernel OOM killer fires, it does not negotiate. It picks a victim by heuristic and that process is gone - usually the one with the largest footprint, which is usually your database.

Built for engineers running services on Linux hosts where memory contention is real. Runs on Claude, Codex, Hermes, Gemini, and GPT-4 and any framework that loads a SKILL.md.

What's included:
* **Memory telemetry analysis:** host and cgroup memory behaviour from Prometheus, with saturation and reclaim activity read together rather than as a single number.
* **memory.high before memory.max:** the central recommendation. `memory.high` applies throttling and reclaim pressure as a cgroup approaches its budget, giving you a slow service and an alert; `memory.max` is a hard wall with a kill behind it. Setting both, with headroom between them, converts a sudden death into a warning.
* **Priority policy:** `oom_score_adj` values assigned deliberately across services.
* **Early warning monitors:** headroom alerts wired before the cliff.
* **Deliverable:** a cgroup resource safety plan with the exact values and the reasoning, delivered to Telegram.

_Be clear-eyed about what `oom_score_adj` does: it redirects the kill, it does not prevent it. Protecting your database means the kernel chooses something else - and if everything is protected, nothing is, because the kernel will still pick. Decide explicitly which process you are willing to lose. And avoid `-1000`, which makes a process effectively unkillable: under real exhaustion that can wedge the entire machine rather than losing one service, which is a worse outcome than the one you were avoiding._

_Check your cgroup version first. `memory.high` exists only in cgroup v2; on a v1 hierarchy the entire plan needs rewriting around soft limits and it will not behave the same way. Confirm which the host actually uses before applying anything._

_Use pressure stall information rather than free memory as your early signal. Free memory looks alarming on a healthy machine with a large page cache and looks fine moments before a kill; PSI measures the time tasks actually spend stalled on memory, which is the thing you care about._

_Finally, worth saying plainly: if the OOM killer is firing regularly, cgroup tuning is buying time rather than fixing anything. The real cause is a leak, an undersized host, or a workload that outgrew its box, and the budget plan should come with a view on which._

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Linux OOM Killer & Cgroup Memory Budgeter skill from Agensi" and describe your task.
3. Subscribe on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Linux OOM Killer & Cgroup Memory Budgeter do?

Turns host memory telemetry into a cgroup plan: memory.high backpressure before memory.max kills, deliberate oom_score_adj priorities, and pressure-based early warning.

### Which AI agents support Linux OOM Killer & Cgroup Memory Budgeter?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Linux OOM Killer & Cgroup Memory Budgeter?

Connect your AI agent to Agensi through MCP, then ask it to use Linux OOM Killer & Cgroup Memory Budgeter on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
