[CentOS] CentOS 7, rsync problem

Robert Nichols

rnicholsNOSPAM at comcast.net
Fri Apr 1 02:01:07 UTC 2016


On 03/31/2016 12:23 PM, Gordon Messmer wrote:
> On 03/31/2016 09:24 AM, Robert Nichols wrote:
>>
>> The only thing I know of that's likely to cause rsync to run out of memory
>> is when there are a huge number of hard links and you are using the "-H"
>> option to preserve them.
>
> If you're using -H, rsync has to keep a table of all of the files and inode/device number combinations.  It'll actually consume *more* memory if you have a smaller number of hard-linked files.

It only needs to keep track of that for files that have a link count
greater than 1 in their inodes.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.




More information about the CentOS mailing list