Hi all,
I am having an issue when running rsync in an LXC pulling files in from a remote system where the remote has a rsync daemon running.
So my command line in my LXC would look something like, "rsync -av --progress rsync://192.168.196.11/backup/ /mnt/restore/"
Initially the restore will saturate the remote side's 100Mbps link but then the throughput dies off. With the help of a redditor, I was able to determine that rsync was caching data and in the LXC, the caching would take free memory down to zero at which time the transfer rate would go down. Testing the same scenario on a VM, again, rsync would eat up memory and cache would go up, but once the memory was around 110KB or so, it wouldn't go any lower and rsync would hold its transfer rates.
Can someone help me understand this issue in an LXC? I found one article which talked about dirty cache and flushing, but I am still trying to understand first how the whole LXC memory works and why it would be allowed to go to zero free memory and basically denile of service a running application.
I am having an issue when running rsync in an LXC pulling files in from a remote system where the remote has a rsync daemon running.
So my command line in my LXC would look something like, "rsync -av --progress rsync://192.168.196.11/backup/ /mnt/restore/"
Initially the restore will saturate the remote side's 100Mbps link but then the throughput dies off. With the help of a redditor, I was able to determine that rsync was caching data and in the LXC, the caching would take free memory down to zero at which time the transfer rate would go down. Testing the same scenario on a VM, again, rsync would eat up memory and cache would go up, but once the memory was around 110KB or so, it wouldn't go any lower and rsync would hold its transfer rates.
Can someone help me understand this issue in an LXC? I found one article which talked about dirty cache and flushing, but I am still trying to understand first how the whole LXC memory works and why it would be allowed to go to zero free memory and basically denile of service a running application.
Last edited: