Skip to main content
Glama
Alpha-Park

genpark-process-cgroup-oom-cpu-quota-arbiter-skill

by Alpha-Park

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: flux7-mesh

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

  • F
    license
    Not graded
    quality
    D
    maintenance
    An AI-Native OS Core that enables LLMs to autonomously monitor, control, and optimize Linux systems with 200+ system control tools covering process management, security, containers, and self-editing capabilities.
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    Guardrail sidecar proxy between AI agents and their MCP/REST/CLI tools. Policy engine, human approval gates, time-limited grants, rate limiting, and OTEL tracing. One Go binary, one YAML config, fail-closed by default.
    1
    Apache 2.0
  • A
    license
    A
    quality
    A
    maintenance
    Governed Docker + Portainer container-host operations (non-Kubernetes) — restart-loop, resource-pressure, and image/volume-bloat RCA, with guarded lifecycle writes, unbypassable audit logging (MCP + CLI), budget/runaway guards, dry-run, and undo/rollback.
    38
    MIT