Open cdwebb0 opened 2 years ago
Try to use logrotate, pihole has config for it in /etc/pihole/ file named logrotate
This will show you what files are your problem: sudo tree /var/log/ --du -h
more info, check compress option: http://www.skrenta.com/rt/man/logrotate.8.html https://www.digitalocean.com/community/tutorials/how-to-manage-logfiles-with-logrotate-on-ubuntu-16-04
I'm getting an error that /var/log is 99% full.
Error: Disk shortage (/var/log/pihole-FTL.log) ahead: 99% used /var/log: 83.9MB used, 83.9MB total
I've set the "/etc/log2ram.conf" SIZE=80M from the default 40M and "/etc/systemd/journald.conf" #SystemMaxUse=40M. This fixed the issue for a few days before it filled again. How do I stop /var/log from filling so quickly and what can I clean up?