Re: local rsync hangs with big files

2007-11-21 Thread Tom Hummel

 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

There's no network involved here.

 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.

--bwlimit works :/ I'm confused why this started recently, for many
months I've had no problems.

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: local rsync hangs with big files

2007-11-21 Thread Matt McCutchen
On Wed, 2007-11-21 at 12:51 +0100, Tom Hummel wrote:
  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
 
 There's no network involved here.

Yes, I suppose I meant the local pipes among the rsync processes.

Matt

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: local rsync hangs with big files

2007-11-20 Thread Matt McCutchen
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

-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html