📖 ~1 min read
Table of contents
Symptom & Impact
Root filesystem reaches critical utilization, causing service interruptions and failed package updates.
Environment & Reproduction
High-volume daemon logs and weak rotation limits in newsyslog configuration.
df -h
du -sh /var/log/* | sort -h
Root Cause Analysis
Aggressive log generation plus permissive rotation policy allows unbounded growth.
Quick Triage
Identify top log consumers and verify current rotation schedule.
newsyslog -nvv
ls -lah /var/log
Step-by-Step Diagnosis
Inspect noisy service patterns and current retention settings.
cat /etc/newsyslog.conf
grep -R "newsyslog" /etc/newsyslog.conf.d 2>/dev/null

Solution – Primary Fix
Rotate and compress logs immediately, then tighten retention policy.
Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.
newsyslog -F
vi /etc/newsyslog.conf
service syslogd reload

Solution – Alternative Approaches
Ship logs to centralized storage and keep minimal local retention windows.
Verification & Acceptance Criteria
Disk usage returns below threshold and remains stable over normal traffic cycles.
df -h
du -sh /var/log/* | sort -h
Rollback Plan
Revert newsyslog policy if retention reduction conflicts with audit requirements.
Prevention & Hardening
Add filesystem and log growth alerts with periodic rotation audits.
Related Errors & Cross-Refs
No space left on device, cannot write log file, root filesystem full.
Related tutorial: View the step-by-step tutorial for freebsd-12.
View all freebsd-12 tutorials on the Tutorials Hub →
Browse all common problems & solutions on the Tutorials Hub.
References & Further Reading
newsyslog(8), syslogd(8), and FreeBSD logging/operations 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.