Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
Expand all | Collapse all

Rsync 3.4.1 [receiver] out of memory: my_alloc caller (file=flist.c, line=311)

  • 1.  Rsync 3.4.1 [receiver] out of memory: my_alloc caller (file=flist.c, line=311)

    Posted Wed February 05, 2025 09:32 AM

    Hello,   I am having problems with the latest Rsync 3.4.1.

    Anyone else having the below problem?

    NIM1:/ # rsync  -gotr --delete --protocol=32 /nfs/epicupdates/work/ /nfs/epicupdatesc40/work
    [receiver] out of memory: my_alloc caller (file=flist.c, line=311)
    rsync error: error allocating core memory buffers (code 22) at util2.c(123) [receiver=3.4.1]
    NIM1:/ # rsync  -gotr /nfs/epicupdates/work/ /nfs/epicupdatesc40/work
    [receiver] out of memory: my_alloc caller (file=flist.c, line=311)
    rsync error: error allocating core memory buffers (code 22) at util2.c(123) [receiver=3.4.1]
    NIM1:/ # rsync -V
    rsync  version 3.4.1  protocol version 32

    Copyright (C) 1996-2025 by Andrew Tridgell, Wayne Davison, and others.
    Web site: https://rsync.samba.org/
    Capabilities:
        64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
        socketpairs, symlinks, symtimes, hardlinks, hardlink-specials,
        hardlink-symlinks, IPv6, atimes, batchfiles, inplace, append, ACLs,
        no xattrs, optional secluded-args, iconv, no prealloc, stop-at,
        no crtimes
    Optimizations:
        no SIMD-roll, no asm-roll, openssl-crypto, no asm-MD5
    Checksum list:
        md5 md4 sha1 none
    Compress list:
        lz4 zlibx zlib none
    Daemon auth list:
        sha512 sha256 sha1 md5 md4

    rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
    are welcome to redistribute it under certain conditions.  See the GNU
    General Public Licence for details.

    Note I do not have the above issue if I drop the protocol down to version 29.

    The work directory has 1489 files.

    NIM1:/nfs/epicupdates/work # du | wc -l
        1489
    NIM1:/nfs/epicupdates/work #



    ------------------------------
    Thanks, in advance for the help.
    Tim
    ------------------------------

    #AIXOpenSource


  • 2.  RE: Rsync 3.4.1 [receiver] out of memory: my_alloc caller (file=flist.c, line=311)

    Posted Thu February 06, 2025 12:55 AM

    Please check the ulimits in the system. Since it deals with lot of files (and hence possibly size) , try increasing the data ulimit. 
    Try "ulimit -d unlimited" and check again.



    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: Rsync 3.4.1 [receiver] out of memory: my_alloc caller (file=flist.c, line=311)

    Posted Thu February 06, 2025 09:30 AM

    Thank you! 

    "ulimit -d unlimited"  

    Fixed the problem I was seeing with rsync.



    ------------------------------
    Tim Koopman
    ------------------------------