[Bug 5478] rsync: writefd_unbuffered failed to write 4092 bytes [sender]: Broken pipe (32)

samba-bugs at samba.org samba-bugs at samba.org
Mon Oct 22 10:23:14 MDT 2012


--- Comment #23 from Chip Schweiss <chip at innovates.com> 2012-10-22 16:23:10 UTC ---
I came here when I was experiencing this problem.   I later found the problem.

If you are running on Redhat/Centos 5/6, there is a long standing bug in the
kernel distributed by Redhat that will cause these broken pipes when rsyncing
over a latent network.

There are ack packets that are getting rejected frequently, that should be
allow via connection tracking.  Insert a rule before the reject line on the
input table:

iptables -I {line} -p tcp --tcp-flags SYN,RST,ACK,FIN ACK -j ACCEPT

do an 'iptables -L -n -v --line-numbers' to figure out which line to insert at.

This affects all TCP connections not just rsync over ssh.

Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the rsync mailing list