Affected versions: Ubuntu 22.04 LTS

πŸ“– ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

Disk space drops quickly and services fail due to root filesystem exhaustion.

Environment & Reproduction

Ubuntu 22.04 with verbose logging workload and unrestricted journald retention.

Root Cause Analysis

Persistent journal retention exceeds safe storage budget on small root volumes.

Quick Triage

Run journalctl –disk-usage and df -h to quantify impact.

Step-by-Step Diagnosis

Review /etc/systemd/journald.conf and identify high-volume units generating logs.

Illustrative mockup for ubuntu-22-04-lts β€” journald_growth_diag
Persistent journal consumes large percentage of root filesystem β€” Illustrative mockup β€” Progressive Robot

Solution – Primary Fix

Set SystemMaxUse and RuntimeMaxUse, restart systemd-journald, and vacuum old journals.

Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

Illustrative mockup for ubuntu-22-04-lts β€” journald_growth_fixed
Journald limits set and old logs vacuumed β€” Illustrative mockup β€” Progressive Robot

Solution – Alternative Approaches

Forward logs to centralized collector and reduce local persistence requirements.

Verification & Acceptance Criteria

journalctl –disk-usage remains within policy and root free space is stable.

Rollback Plan

Restore prior journald settings if forensic retention policy requires longer history.

Prevention & Hardening

Set explicit log retention baselines for each host profile.

Application write failures and apt cache errors can follow root disk pressure.

Related tutorial: View the step-by-step tutorial for Ubuntu 22.04 LTS.

View all Ubuntu 22.04 LTS tutorials on the Tutorials Hub β†’

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

Ubuntu 22.04 systemd-journald storage management documentation.

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.