DO NOT REPLY [Bug 5418] New: rsync error: error allocating core memory buffers (code 22)

samba-bugs at samba-bugs at
Fri Apr 25 23:54:57 GMT 2008

           Summary: rsync error: error allocating core memory buffers (code
           Product: rsync
           Version: 3.0.2
          Platform: Other
        OS/Version: AIX
            Status: NEW
          Severity: major
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: schnetter at
         QAContact: rsync-qa at

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
eschnett at

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)

With two additional --verbose options, the last screen output is

is uptodate
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.

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list