📖 ~1 min read
Table of contents
Symptom & Impact
Critical services fail to write state and crash when /var runs out of space.
Environment & Reproduction
Occurs on small root volumes with verbose logging or stalled logrotate cycles.
Root Cause Analysis
Unbounded log files and retained package caches consume /var capacity over time.
Quick Triage
Run df, du top consumers, and identify active deleted files using lsof.
Step-by-Step Diagnosis
Map high-growth paths in /var/log, /var/lib, and package cache directories.

Solution – Primary Fix
Purge obsolete logs and caches, restart affected daemons, and correct rotation policy.
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
Extend filesystem, move heavy paths to separate volume, or centralize logging.
Verification & Acceptance Criteria
Adequate free space restored and services remain stable through workload cycle.
Rollback Plan
Recover archived logs from backups if retention cleanup removed needed records.
Prevention & Hardening
Set storage alerts, enforce logrotate policies, and tune application verbosity.
Related Errors & Cross-Refs
Linked with inode exhaustion, apt lock failures, and database write errors.
Related tutorial: View the step-by-step tutorial for Ubuntu 14.04 LTS.
View all Ubuntu 14.04 LTS tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
logrotate docs, Linux disk usage diagnostics, and Ubuntu maintenance best practices.
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.