Hello all,
Every few weeks, my server comes to a hault because the disk gets full of a single samba log file, which exceeds several gigabytes.
Before continuing my story, I should mention that in smb.conf I have set the option for the log file size to 1000 (I think this corresponds to 1 MB).
Yesterday, I was lucky to notice this behavior while I was logged in to my server through ssh. I was issuing df -h and indeed the root directory was starting to add several GBs. I thought I could prevent the full disk problem by simply deleting all samba log files, but to my surprise the / directory kept growing in size, although the few log files that appeared in the clean /var/log/samba directory seemed to have zero size. The only solution was to reboot the server. Before rebooting, the / directory was full at 80%, but after rebooting it returned to its normal 26%.
I run Ubuntu 8.04 LTS 64bit, on an Athlon x2 CPU with 8 gigs of RAM.
Any ideas would be very much appreciated.
Thanks.
Panos
Bookmarks