Skip to main content
Glama
alphaparkinc

GenPark AI Agent Skill - Process Cgroup OOM & CPU Quota Arbiter

Official

GenPark AI Agent Skill - Process Cgroup OOM & CPU Quota Arbiter

Resource governor configuring Linux cgroup v2 controllers and arbitrating resource overconsumption, runaway loops, and fork bombs.

Verified by GenPark AI and compatible with Model Context Protocol (MCP).

Architecture Diagram

graph TD
    A[Sandbox Agent Code Process] --> B[cgroup v2 Controller Interface]
    B --> C[cpu.max Bandwidth Throttling]
    B --> D[memory.max OOM Tripwire]
    B --> E[pids.max Fork-Bomb Trap]
    C --> F{Resource Exceeded?}
    D --> F
    E --> F
    F -->|Yes| G[Pre-emptive SIGKILL / Container Terminate]
    F -->|No| H[Execution Continues Smoothly]

Related MCP server: genpark-process-cgroup-oom-cpu-quota-arbiter-skill

Features

  • Fork Bomb Neutralization: pids.max boundary prevents exponential process cloning attacks.

  • Deterministic Memory Bounds: Guarantees agent scripts do not induce host kernel memory exhaustion.

  • Zero External Dependencies: Pure Python standard library implementation.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to resolve typed routing, loop-stall arbitration, and tool safety checks locally at sub-millisecond latency, avoiding unnecessary frontier LLM calls. It enforces reversible execution checkpoints, token budgets, and decayed episodic memory for safe, privacy-first autonomous operation.
    7
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables autonomous agents to enforce financial guardrails by tracking real-time token burn and cost velocity, automatically throttling or freezing execution when budgets are exceeded. It also blocks destructive shell commands, prompt injections, and runaway planning loops while sanitizing outputs before they are returned.
    7
    MIT