You are here
Chips - Fri, 2010/04/30 - 03:00
I'm getting an extraordinarily large samba.log.old file which is taking up all disk space on my install of the Turnkey PDC. I have 200GB allocated to it with 33GB used normally. Then the samba.log.old file appears roughly after a week of removing it taking up all the rest of the disk space. Has anyone got this problem and fixed it? Any help much appreciated!
Heres the /etc/logrotate.d/samba
/var/log/samba/log.smbd { weekly missingok rotate 7 postrotate invoke-rc.d --quiet samba reload > /dev/null endscript compress notifempty } /var/log/samba/log.nmbd { weekly missingok rotate 7 postrotate [ ! -f /var/run/samba/nmbd.pid ] || kill -HUP `cat /var/run/samba/nmbd.pid` endscript compress notifempty }
Forum:
Add new comment