STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.
What is the problem you are having with rclone?
We are about to transfer 40M files consuming 6TB of data from swift to s3. The rclone VM has 8 vcpu and 16GB RAM. while transferring the data we have observed that there is increase in memory usage and it automatically gets killed since memory is completely consumed.
I have used fast-list and that's terrible bad for my use-case. And then I have used --use-mmap command, now the memory is slowly increasing not rapidly like earlier but soon to be consumed. Are there any flags which i should include to get this going without getting killed due to memory issue..(Psst.. its almost 15 times now)
Run the command 'rclone version' and share the full output of the command.
rclone v1.64.0
- os/version: centos 7.9.2009 (64 bit)
- os/kernel: 3.10.0-1160.45.1.el7.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.1
- go/linking: static
- go/tags: none.
Are you on the latest version of rclone? You can validate by checking the version listed here: Rclone downloads
--> Yes
Which cloud storage system are you using? (eg Google Drive)
s3 middleware (swift) and s3
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Paste command here
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
[swift]
type = s3
provider = Other
access_key_id = XXX
secret_access_key = XXX
endpoint = swift.com
[s3]
type = s3
provider = Other
access_key_id = XXX
secret_access_key = XXX
endpoint = http://s3.com
A log from the command that you were trying to run with the -vv
flag
2024/05/23 19:48:40 DEBUG : rclone: Version "v1.64.0" starting with parameters ["./rclone" "--progress" "--log-file=copy15.txt" "copy" "swift:std" "s3:std" "--transfers=20" "--checkers=100" "--use-mmap" "-vv"]
2024/05/23 19:48:40 DEBUG : Creating backend with remote "swift:std"
2024/05/23 19:48:40 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2024/05/23 19:48:40 DEBUG : Resolving service "s3" region "us-east-1"
2024/05/23 19:48:40 DEBUG : Creating backend with remote "s3:std"
2024/05/23 19:48:40 DEBUG : Resolving service "s3" region "us-east-1"