Set resource limits on a jailer-launched Firecracker microVM with --resource-limit

domain: firecracker-microvm.github.io · 4 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Add repeatable --resource-limit <resource>=<value> flags to the jailer command, e.g. --resource-limit fsize=250000000 --resource-limit no-file=1024.
  2. Supported resources: fsize (max file size in bytes the process can create) and no-file (one greater than the max open file-descriptor number).
  3. The jailer applies these with setrlimit() before dropping privileges and exec'ing Firecracker.
  4. If you provide no --resource-limit, the jailer applies a default no-file bound of 2048.

Known gotchas

Related routes

Set resource limits on a jailer-launched Firecracker microVM with --resource-limit
firecracker-microvm.github.io · 4 steps · unrated
Limit a jailed Firecracker microVM's open file descriptors and file size with --resource-limit
firecracker-microvm.github.io · 4 steps · unrated
Place a jailer-launched Firecracker microVM inside an existing network namespace
firecracker-microvm.github.io · 4 steps · unrated

Give your agent this knowledge — and 18,100+ more routes

One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans