[Samba] Lots of "write_data: write failure in writing to client" and "Error writing 4 bytes to client. -1"

Simo Sorce idra at samba.org
Sun Nov 20 21:19:34 GMT 2005

On Sun, 2005-11-20 at 22:02 +0100, Leroy van Logchem wrote:
> Last week we installed Samba 3.0.20b on one of our servers, worked fine and
> does it's job well. But today the load was rising due two smbd processes
> taking up all cputime. While looking for hints on what was going on the
> logfiles show two types of errors (I don't know at this time if it has
> anything to do with the load spike):
> lib/util_sock.c:write_data(554)
> write_data: write failure in writing to client <>.
> Error Connection reset by peer
> followed by:
> lib/util_sock.c:send_smb(762)
> Error writing 4 bytes to client. -1. (Connection reset by peer)

this is a "normal" client disconnection, ma have been a reboot, a
network glitch, or any other client problem.

> After a few hours I killed the two offending smbd's but I like to know more
> before it reoccurs.

would you have run strace or gdb on the process to see where they where
stuck ...

next time please do it.


Simo Sorce    -  idra at samba.org
Samba Team    -  http://www.samba.org
Italian Site  -  http://samba.xsec.it

More information about the samba mailing list