rsync is hanging for me
frenchie at us.ibm.com
Wed Nov 5 07:17:13 EST 2003
When I rsync a large directory (a few thousand files in multiple
subdirectories), it has recently begun to hang and not return to me.
The system I am rsyncing from is relese 2.4.1, and the system I am rsyncing
to is release 2.5.4. I am running on aix (both ends).
I used to use the following:
/usr/contrib/bin/rsync -vrace ssh --include-from $tmpFile --exclude "*"
--rsync-path=/usr/local/binrsync $fromdir $toserver:$todir
I am now using the following, and, while this fixed some of the hangs, I
still have a couple large directories that are hanging (all files and
directories are successfully written, but I do not get control back for 6
/usr/contrib/bin/rsync -vrace ssh --rsync-path=/usr/local/binrsync
Why did my first invocation hang, and why is my 2nd invocation still
hanging? Could it be a bug in either 2.4.1 or 2.5.4, or an incompatibility
between the two?
If I use --dry-run, it does not hang.
It I use --timeout="600", it does not return control back to me after 10
minutes, and not evern after an hour.
This is a huge directory:
building file list ... done
wrote 229184 bytes read 16 bytes 2400.00 bytes/sec
total size is 105872465 speedup is 461.92
IBM Enterprise Systems Group
FRENCHIE at IBMUSM07; Internet: frenchie at us.ibm.com
Dept 48Z, 020-3-J204, IBM, Rochester, MN
phone: 1-507-253-3099, tieline: 8-553-3099
Build Team, AS400 Development Technologies
More information about the rsync