← all drills

Disk full on the primary

firefight

No space left on device. Find the offender, reclaim safely, rotate the logs.

mode
bash · bad deploy · difficulty 3
ssh oncall@web-08.prod.internal 
oncall@web-08:~$df -h | awk '$5+0 > 85 {print}'
oncall@web-08:~$sudo du -xh /var --max-depth=2 2>/dev/null | sort -rh | head -n 10

Enter submits a line · Tab then Enter restarts · Esc releases focus

Playing as a guest. Runs are saved against a device-local id — sign in with GitHub to keep your history and appear on the leaderboards.