Interview Prep/Jenkins/Controller health, disk & upgrades

`JENKINS_HOME` volume is 98% full

BeginnerTroubleshootingController health, disk & upgrades
Answer

Likely causes → Build records and artifacts without retention, orphaned branch jobs, workspaces on the built-in node, heap dumps, logs.

Diagnose →

du -h --max-depth=2 /var/jenkins_home | sort -h | tail -20
find /var/jenkins_home/jobs -name archive -type d -exec du -sh {} + | sort -h | tail

Fix → Delete old builds via buildDiscarder and a one-off cleanup, remove orphaned jobs, delete stale heap dumps; move artifacts to Nexus/S3.

Prevent → Retention by default in templates; disk alerts at 80%.

All Jenkins questions Roadmap: Jenkins

More on Controller health, disk & upgrades