What is the problem you are having with rclone?
I'm currently trying to migrate a quite huge buckets ( around 500 millions d'objects and 100Tb) to another bucket on another remote.
I tried with few options but it fails with memory errors (too much usage of memory)
Lately, I'm trying with following command but nothing happens :
rclone copy remote_src:bucket_source remote_tgt:bucket_target --transfers=160 --checkers=16 --max-backlog=100000 --use-mmap --log-file test.log --size-only --retries 3 --checksum -vv
Once I start the command, I can see that rclone is taking a lot of memory but not doing any copies :
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
16243 cloud-u+ 20 0 41.3g 39.9g 14064 S 0.7 63.6 510:49.10 rclone
Do I miss some specific parameters that can improve or just help for copy ?
Run the command 'rclone version' and share the full output of the command.
Here is my rclone version
$rclone version
rclone v1.57.0
- os/version: centos 7.8.2003 (64 bit)
- os/kernel: 3.10.0-1127.8.2.el7.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.17.2
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
I'm using on premises S3 (Scality) on both source and target
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy remote_src:bucket_source remote_tgt:bucket_target --transfers=160 --checkers=16 --max-backlog=100000 --use-mmap --size-only --retries 3 --checksum -vv
The rclone config contents with secrets removed.
[remote_src]
type = s3
provider = Other
access_key_id = *************
secret_access_key = *************
endpoint = XXXX
[remote_tgt]
type = s3
provider = Other
access_key_id = *************
secret_access_key = *************
endpoint = XXXX
A log from the command with the -vv
flag
Log are not really verbose. Since I launch the command, I only receive a starting action and nothing since.
2022/04/27 07:58:08 DEBUG : rclone: Version "v1.52.2" starting with parameters ["/home/cloud-user/rclone-v1.52.2-linux-amd64/rclone" "copy" "remote_src:bucket_source" "remote_tgt:bucket_target" "--transfers=160" "--checkers=16" "--max-backlog=100000" "--use-mmap" "--size-only" "--retries" "3" "--checksum" "-vv" ]
2022/04/27 07:58:08 DEBUG : Using config file from "/home/cloud-user/.config/rclone/rclone.conf"
2022/04/27 07:59:08 INFO :
Transferred: 0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time: 0.0s