I'm using Mac OS X Snow Leapord. My iMac's hard drive has been getting unexpectedly full, and I finally tracked the problem down to a huge file: private/var/log/samba/log.smbd.old
, weighing in at 400GB.
I just ran tail -100 log.smbd.old
to see the last 100 lines of that log file. What I see is a ton of "too many open files" errors.
This is a work machine. I do share files with other Mac users, and also access a shared Windows drive via Samba.
How can I troubleshoot these errors so the log file doesn't get filled with them?