Hello list, 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. rsync --version output is this: <snip> rsync version 2.6.9 protocol version 29 Copyright (C) 1996-2006 by Andrew Tridgell, Wayne Davison, and others. Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, inplace, no IPv6, 64-bit system inums, 64-bit internal inums </snip> This is how I invoke rsync: rsync -rltvhOx --progress --stats --whole-file --delete --exclude=nicht_im_backup /cygdrive/t/ /cygdrive/z/backup For testing I tried -vvv but it just hang anyway with no information. For a few days now, rsync hangs in the middle of a transfer of big files >400MiB -- no error message, no termination. Strange thing is, when I run rsync with strace it completes without errors. Tom
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: https://bugzilla.samba.org/show_bug.cgi?id=2208> 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 run. Matt