What is the problem you are having with rclone?
I have the same setup on 4 different serves, but 2 of them for some reason get higher and higher load average; I have tried looking into iotop
, vnstat
vmstat 1
, iostat -x 5
and as far as I understood the numbers, the CPUs are mostly idle and waiting, network activity is not stressing the machine as it's just random data coming in an out; running sync
does not take more than a split second to finish. the system remains very usable and fast to responde, other than the unusually high load average ( in the 400s after several minutes)
I have also tried adjusting tpslimit, workers, rps, chunk size, cache time, on the servers where the load goes crazy but couldn't get any conclusive results
are there any O.S. settings I should be looking at that could be causing such weird behavior?
v1.52.1 is the version on the hosts that don't have high load on the system, but downgrading did not help the ones that do.
Any other information I can provide to help debug this?
What is your rclone version (output from rclone version
)
rclone v1.52.2
- os/arch: linux/amd64
- go version: go1.14.4
and
rclone v1.52.1 - os/arch: linux/amd64
- go version: go1.14.4
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Archlinux and another with Ubuntu
Which cloud storage system are you using? (eg Google Drive)
Google drive and a remote for cache
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
/usr/bin/rclone mount \
--log-level=INFO --log-file=/var/log/rclone.log \
--config=~/.config/rclone/rclone.conf \
--allow-other \
--poll-interval 15s \
--timeout 1m \
--cache-chunk-path=/caches/remote/chunks \
--cache-dir=/caches/remote/vfs \
--cache-db-path=/caches/remote/db \
--drive-use-trash=false \
--user-agent storjbox \
--gid=1000 --uid=1000 \
--tpslimit 6 --transfers 4 \
--vfs-read-chunk-size 16M --vfs-read-chunk-size-limit 50G \
--vfs-cache-mode writes \
--dir-cache-time=86400m --cache-info-age=7d \
--cache-rps=10 \
cached_remote:/ /local_mount
The rclone config contents with secrets removed.
[direct-remote]
type = drive
client_id = xxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com
client_secret = -xxxxxxxxxxxx
scope = drive
root_folder_id = xxxxxxxxxxxxxxxx
token = {"access_token":"xxxxxxxxxx","token_type":"Bearer","refresh_token":"1//xxxxxxxxxx","expiry":"2020-07-21T01:17:49.478592788+02:00"}
rps = 50
tpslimit = 4
[cached_remote]
type = cache
remote = direct-remote:/foldder-inside-remote
info_age = 5d
chunk_total_size = 20G
workers = 2
rps = 10
A log from the command with the -vv
flag
https://pastebin.com/Y2iwqQAj