๐ ~1 min read
Table of contents
Symptom & Impact
Disk usage spikes under /var/log/journal, causing service disruption and failed writes.
Environment & Reproduction
Appears when noisy services emit repeated errors without retention caps.
df -h
journalctl --disk-usage
sudo du -sh /var/log/journal/* 2>/dev/null
Root Cause Analysis
Unbounded persistent journald storage and repetitive log storms fill available storage.
Quick Triage
Identify top-volume units and current journal retention behavior.
journalctl -p err -n 200 --no-pager
journalctl -u -n 120 --no-pager
systemctl status systemd-journald
Step-by-Step Diagnosis
Trace recurring error sources and verify journald config defaults.
grep -RIn 'SystemMaxUse|RuntimeMaxUse' /etc/systemd/journald.conf /etc/systemd/journald.conf.d 2>/dev/null
sudo journalctl --since '1 hour ago' | tail -n 200

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

Solution – Alternative Approaches
Forward logs to remote collector and keep minimal local retention.
sudo sed -i 's/^#*ForwardToSyslog=.*/ForwardToSyslog=yes/' /etc/systemd/journald.conf
sudo systemctl restart systemd-journald
Verification & Acceptance Criteria
Journal size remains within configured thresholds and disk pressure subsides.
journalctl --disk-usage
df -h /var
sudo journalctl -p err -n 50 --no-pager
Rollback Plan
Restore previous journald config if retention policy is too aggressive for operations.
sudo cp /etc/systemd/journald.conf.bak /etc/systemd/journald.conf 2>/dev/null || true
sudo systemctl restart systemd-journald
Prevention & Hardening
Set per-service rate limits and alert on abnormal journal growth.
journalctl --disk-usage
systemctl show systemd-journald -p ExecMainStatus
df -h
Related Errors & Cross-Refs
Common with runaway crash loops, misconfigured debug logging, and failed retries.
Related tutorial: View the step-by-step tutorial for Ubuntu 26.04 LTS.
View all Ubuntu 26.04 LTS tutorials on the Tutorials Hub โ
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
Ubuntu journald configuration and log retention best-practice 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.