DO NOT REPLY [Bug 1959] writefd_unbuffered failed to write 4092 bytes phase send_file_entry broken pipe

samba-bugs at samba-bugs at
Fri Feb 24 14:39:59 GMT 2006

------- Comment #14 from aim1 at  2006-02-24 08:39 MST -------
I also had the same problem ocurring randomly on large file transfers between
an IDE disk and a disk attached via USB2.0 using RedHat FC4 and rsync version
2.6.4  protocol version 29.
Error messages are:
"rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" [sender]:
Broken pipe (32)
rsync error: timeout in data send/receive (code 30) at io.c(181)
rsync: connection unexpectedly closed (241914 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(420)"

I found by limiting the bandwidth and setting a large timeout that the
problem/symptoms went away.  ie I added the following switches:
  --bwlimit=8192 --timeout=600

Note this did not happen on smaller files at all, and would not happen on the
same file when I was transferring large ones. Anyway hope that helps some.
Andrew Morris


Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list