Skip to main content
Glama
genpark-process-cgroup-oom-cpu-quota-arbiter-skill

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: container-host-aiops

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.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      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
      B
      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
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Local execution gate and stdio MCP proxy for AI agents, with tool policies, expiring leases, approvals and operator kill. Starts with two read-only setup tools; protection requires a trusted downstream server and private operator configuration. Not an OS sandbox. Apache-2.0.
      2
      6
      Apache 2.0