Unusually large log file

Ragnar Wisløff ragnar.wisloff at linuxlabs.no
Mon Oct 22 02:24:03 GMT 2001

mandag 22 oktober 2001 10:31 skrev Anthony:

> [2001/10/22 10:12:30, 0] lib/util_sock.c:write_data(508)
>    write_data: write failure. Error = Broken pipe
> I had to delete the log file to free up space, as it had totally filled the
> / partition. The system is a RedHat 7.1 machine running Samba 2.0.10, and
Your full partition could be the cause of your problem. If it works again 
after you deleted the log, you know it is so. You can also use logrotate to 
control the size of logs. See man logrotate.

You can set the max size of the log files in smb.conf with the parameter

max log size = <size in kB>

Hope this helps.

Ragnar Wisløff
Fri Agenda/LinuxLabs

More information about the samba mailing list