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

samba-bugs at samba.org samba-bugs at samba.org
Fri Nov 2 03:06:28 MDT 2012


Sebastian <shop at open-t.co.uk> changed:

           What    |Removed                     |Added
                 CC|                            |shop at open-t.co.uk

--- Comment #27 from Sebastian <shop at open-t.co.uk> 2012-11-02 09:06:27 UTC ---
I have a number of setups running backups using rsync to either usb memory
sticks or usb external hard drives. I have only encountered this problem on the
sites which use usb memory sticks. Would this be related to the sender not
being able to cope properly with the slower speed of the receiver - governed by
the slower write speed of usb memory sticks?

Anyway, after trying all sorts of things, what has cured it for me is using
"--bwlimit". So far, with a value of 1000 to 2000 (KBytes/second) it has
stopped the errors completely. Of course, this slows down the backup
dramatically - but I've got all night :-) 

I haven't tested to see how far I can push the "--bwlimit" before the errors
show up again.

I use the following options "--delete --recursive --timeout=60 --max-delete=200
--links --perms --owner --group"

Hope the above helps somebody.

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