Skip to content

Incident 2026-11-20: Disk full on Jenkins agent

All builds on agent linux-build-03 failed for 47 minutes with 'No space left on device'.

IncidentSEV3resolvedCreated Updated

Also:no space left on device · disk full · ENOSPC · jenkins agent offline · /var/lib/docker full · linux-build-03

Jenkins agent linux-build-03 ran out of disk on its root volume. Every job scheduled on it failed with No space left on device for 47 minutes, blocking merges for two teams. Docker build cache and dangling images from the new multi-arch pipeline had grown to 41 GB in four days.

Time (UTC) Event
08:52 First failed build: failed to copy files: write /var/lib/docker/...: no space left on device
09:10 Second team reports red builds in chat
09:18 I SSH in; df -hT shows / at 100%
09:24 docker system df shows 38 GB reclaimable build cache
09:31 Agent marked offline in Jenkins, pruned dangling images and build cache
09:39 Disk at 41%, agent back online, failed builds re-triggered
09:41 All green: resolved
  1. Failed console log pointed at /var/lib/docker (Jenkins: Tail a build's console log).
  2. Linux: Check disk usage per filesystem showed /dev/nvme0n1p1 50G 50G 0 100% /.
  3. Linux: Find the biggest directories on /var/lib showed docker at 44 GB.
  4. Docker: Show disk used by Docker: build cache 31 GB, images 12 GB (8 GB reclaimable).

The new multi-arch pipeline (docker buildx for amd64 + arm64) roughly tripled the build cache per job. The agent had no scheduled cleanup, and the disk alert threshold was 95%, which gave us less than an hour of warning at the new growth rate.

Terminal window
# take the agent out of rotation first (Jenkins UI → Mark this node temporarily offline)
docker builder prune -af --filter "until=24h"
docker image prune -af --filter "until=72h"

Then brought the agent back online and re-ran the failed jobs.

  • Nightly systemd timer on all agents: docker builder prune -af --filter until=24h + docker image prune -af --filter until=72h
  • Disk alert lowered from 95% to 80% on CI agents
  • Root volume on build agents grown from 50 GB to 100 GB
  • Move buildx cache to a registry cache (--cache-to type=registry) instead of local disk

My DevOps Playbook by Angelo John Calleja

New runbook

GitHub not connected

Saving is handled by the site: the GitHub token is stored in Cloudflare, not in your browser. Enter the editor password (the EDITOR_PASSWORD secret) to unlock saving in this browser.

Saving commits to gelogrammer/My_DevOps_Playbook. Create a fine-grained token with access to only this repo andContents: Read and write, then paste it here. It is stored only in this browser.

src/content/docs/…