(CYGWIN) Rsync Stalling Upon first file transfer.

Matt McCutchen hashproduct+rsync at gmail.com
Thu Sep 6 19:01:24 GMT 2007


On 9/5/07, Jonathan Hurd <texasjhurd at yahoo.com> wrote:
> Ok well I tried setting the bwlimit, wasnt sure what to set it to. Tried
> high 800's down to 50kb\s. No Luck.

The problem could be that the current bandwidth-limiting algorithm
doesn't prevent rsync from issuing two big writes in rapid succession,
which seems to be what triggers the hang in Cygwin.  Simply moving the
sleep_for_bwlimit call in writefd_unbuffered in io.c from after the
actual write to before it may make --bwlimit more effective at working
around the hang.

Matt


More information about the rsync mailing list