Skip to main content
What the engine and axed need from the Linux environment they run in, and how they fall back when a feature is missing. For how each platform was tested, see the deploy guides: containers, gVisor, Firecracker, Agent Sandbox and Agent Substrate. AXE builds for Linux on x86_64 and aarch64 only. The axe crate refuses to compile for any other operating system or architecture: it starts processes with raw clone system calls written for those two.

What the engine needs from Linux

Fallbacks in detail

Without cgroups

With --cgroups auto (the default), axed uses cgroups only when it owns a writable cgroup v2 subtree. Otherwise it logs cgroups unavailable; using process groups and rlimits and continues. --cgroups required refuses to start instead.

Owning a cgroup

axed takes over the cgroup it starts in. It needs:
  • cgroup v2 mounted in unified mode at /sys/fs/cgroup. A hybrid or v1-only system has no 0:: line in /proc/self/cgroup, and cgroups are unavailable.
  • To be alone in that cgroup, or to be PID 1. It moves itself, and as PID 1 everything else in the cgroup, into an axed leaf so the parent can delegate controllers to one child cgroup per process.
  • Write access to the subtree. In Kubernetes that means a writable, delegated cgroup v2 mount in the container.
It enables the cpu, memory and pids controllers that the cgroup offers, one at a time. axed logs a controller the kernel refuses, and only limits that need it fail. A kernel without the cpu controller, such as a guest kernel built without it, enforces memory limits and refuses CPU limits.

Other fallbacks

Privileges

axed can run as an unprivileged user; the image runs it as uid 1000. A few operations need more: Without them, the call fails and the rest of the daemon is unaffected. Entropy is the exception: without CAP_SYS_ADMIN, axed drops the bytes and System.Configure still succeeds. axectl resumed --no-entropy skips the entropy.

Limits axed applies to itself

A recursive watch on a tree larger than the kernel’s inotify watch limit reports the subdirectories it could not cover as a non-terminal error and keeps watching the rest.