📖 ~1 min read
Table of contents
Symptom & Impact
Services fail writes and package operations stop because /var partition is full.
Environment & Reproduction
Ubuntu 16.04 systems with heavy logging, cache growth, or orphaned packages.
Root Cause Analysis
Accumulated logs, package cache, or application artifacts exhaust available space.
Quick Triage
Measure disk usage hotspots and identify fastest safe cleanup targets.
Step-by-Step Diagnosis
Analyze directory growth under /var/log, /var/cache, and app-specific data paths.

Solution – Primary Fix
Purge stale cache, rotate/prune logs, and remove unused packages to free capacity.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Solution – Alternative Approaches
Expand filesystem or relocate high-growth data directories to larger volumes.
Verification & Acceptance Criteria
Sustained free space threshold is restored and writes succeed normally.
Rollback Plan
Recover pruned logs from backup if forensic retention is required.
Prevention & Hardening
Set log retention policies and alerting for partition usage thresholds.
Related Errors & Cross-Refs
ENOSPC errors, journal write failures, and apt cache expansion issues.
Related tutorial: View the step-by-step tutorial for Ubuntu 16.04 LTS.
View all Ubuntu 16.04 LTS tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Ubuntu disk housekeeping and capacity planning references.
Need Expert Help?
If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.