π ~1 min read
Table of contents
Symptom & Impact
Disk usage rises rapidly due to unbounded journal files under `/var/log/journal`.
Environment & Reproduction
Typical on noisy services emitting high-volume logs.
journalctl --disk-usage
Root Cause Analysis
Default journald retention may be too high for current disk sizing and workload.
Quick Triage
Inspect current journald configuration and storage mode.
grep -E 'SystemMaxUse|RuntimeMaxUse|Storage' /etc/systemd/journald.conf
Step-by-Step Diagnosis
Measure journal growth and noisy units.
journalctl --since -24h | wc -l && systemctl --failed

Solution – Primary Fix
Set size caps and vacuum existing journal files.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
sudo sed -i 's/^#SystemMaxUse=.*/SystemMaxUse=500M/' /etc/systemd/journald.conf && sudo systemctl restart systemd-journald && sudo journalctl --vacuum-size=500M

Solution – Alternative Approaches
Forward logs to centralized storage and reduce local retention period.
Verification & Acceptance Criteria
Journal usage remains under configured cap during normal workload.
Rollback Plan
Revert journald.conf changes and restart journald if needed.
Prevention & Hardening
Monitor log volume by service and tune noisy application logging levels.
Related Errors & Cross-Refs
Related to `/var` saturation, log rotation delays, and service crash loops.
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 limits and Ubuntu logging 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.