π ~1 min read
Table of contents
Symptom & Impact
Root volume reaches 100 percent, causing service disruptions and failed writes.
Environment & Reproduction
Seen on systems with verbose logging and no journal retention policy.
df -h /
Root Cause Analysis
systemd-journald persisted logs grew beyond available disk capacity.
Quick Triage
Identify largest consumers under /var and quantify journal size.
sudo du -sh /var/log/journal
sudo journalctl --disk-usage
Step-by-Step Diagnosis
Review high-volume units contributing to log growth.
sudo journalctl -p warning -n 200
sudo journalctl -u snapd -n 100

Solution – Primary Fix
Vacuum old logs and configure journal size limits.
Still having issues? Our Server Management team can diagnose and resolve this for you. Get in touch for a free consultation.
sudo journalctl --vacuum-time=7d
sudo journalctl --vacuum-size=500M
sudo systemctl restart systemd-journald

Solution – Alternative Approaches
Forward logs to centralized logging and reduce local retention windows.
sudo sed -n '1,120p' /etc/systemd/journald.conf
Verification & Acceptance Criteria
Free space recovers and journald respects configured limits.
df -h /
sudo journalctl --disk-usage
Rollback Plan
Restore previous journald configuration if retention policy is too strict.
sudo cp /etc/systemd/journald.conf.bak /etc/systemd/journald.conf
sudo systemctl restart systemd-journald
Prevention & Hardening
Set explicit SystemMaxUse and monitor /var growth with alerts.
Related Errors & Cross-Refs
Frequently accompanies apt failures and database errors due to no space left on device.
Related tutorial: View the step-by-step tutorial for Ubuntu 24.04 LTS.
View all Ubuntu 24.04 LTS tutorials on the Tutorials Hub β
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
systemd-journald retention and storage control documentation for Ubuntu.
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.