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

Leroy van Logchem leroy.vanlogchem at gmail.com
Sun Nov 20 21:02:03 GMT 2005

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):

write_data: write failure in writing to client <>.
Error Connection reset by peer

followed by:

Error writing 4 bytes to client. -1. (Connection reset by peer)

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

Server: 2 x Intel Xeon 3.2 ; 4 GB memory
OS: 32bit RedHat Enterprise Linux ES release 4 Update 1
Clients: 500 x Windows XP (each have at least two drives mapped to this
Smb builtin modules: pdb_ldap pdb_smbpasswd pdb_tdbsam pdb_guest rpc_lsa
rpc_reg rpc_lsa_ds rpc_wks rpc_svcctl rpc_net rpc_dfs rpc_srv rpc_spoo
lss rpc_eventlog rpc_samr idmap_ldap idmap_tdb auth_rhosts auth_sam
auth_unix auth_winbind auth_server auth_domain auth_builtin


More information about the samba mailing list