local rsync hangs with big files

Matt McCutchen matt at mattmccutchen.net
Tue Nov 20 23:05:13 GMT 2007

On Mon, 2007-11-19 at 14:47 +0100, Tom Hummel wrote:
> for quite some time I've been using rsync on Windows successfully
> syncing ~10k files each day. The rsync is that of Cygwin. The sync
> is from one FAT FS to another FAT FS.

> For a few days now, rsync hangs in the middle of a transfer of big
> files >400MiB -- no error message, no termination.

This is probably just the infamous, elusive Cygwin hang bug:


> Strange thing is, when I run rsync with strace it completes without
> errors.

That would make sense, as the hang seems to be caused by rsync writing
too much data to the network too fast, and stracing rsync would slow it
down.  Do whatever works: strace rsync, or use --bwlimit.  If you are
interested, you could experiment with --bwlimit values and tweaks to the
--bwlimit implementation to see what gives you the fastest hang-free


More information about the rsync mailing list