I am using rsync 3.0.2 (on both ends) to copy a source tree from Mac OS (Intel) to AIX (Power 5).
My command is
rsync --rsync-path=/work/default/eschnett/rsync-3.0.2/bin/rsync --rsh ssh --archive --hard-links --sparse --verbose --progress --partial --stats --compress --exclude _darcs --exclude CVS --exclude doxygen --exclude ".#*" --exclude .DS_Store --exclude .git --exclude .svn --exclude "*~" --delete --delete-excluded CONTRIBUTORS COPYRIGHT Makefile arrangements src lib .gitignore AEIArrangements AEIPhysics bbhfactory bin cactus.config carpet carpet-stable carpet-stable-2 carpet-stable-3 kranc parfiles email@example.com:/work/default/eschnett/Calpha
After checking about 8000 files, I receive the error
sending incremental file list
rsync: connection unexpectedly closed (794 bytes received so far) [sender]
rsync error: error allocating core memory buffers (code 22) at io.c(635) [sender=3.0.2]
With two additional --verbose options, the last screen output is
arrangements/AEIDevelopment/BbhIData/src/BbhCollabInitialData/t7600/Nid_gyy_SphereC1.dump is uptodate
arrangements/AEIDevelopment/BbhIData/src/BbhCollabInitialData/t7600/Nid_gyy_SphereC10.dump is uptodate
Here the transmission hangs. When I abort with ctrl-C, I receive
^CKilled by signal 2.
rsync error: unexplained error (code 255) at rsync.c(541) [sender=3.0.2]
_exit_cleanup(code=20, file=rsync.c, line=541): about to call exit(255)
This is a show-stopper for using rsync 3.0.1 and 3.0.2 on AIX. I have no such problems on other platforms which use Linux operating systems and Intel processors. My current work-around is to fall back to 2.6.2.
AIX systems are known to have issues with the hard-link code, but no-one has assisted with the debuggin as to why yet. If anyone can help out, let me know.
This has been fixed. See bug 5418 for the patch reference.
Sorry, I meant to refer to bug 5541.