Help with rclone

What is the problem you are having with rclone?

Synology RAM cache is full over time and then plex is unresponsive. Goes 16gb RAM cached and only 156mb RAM free. I just want to know the best settings for streaming and not using too much RAM.

Run the command 'rclone version' and share the full output of the command.

rclone v1.61.1

Which cloud storage system are you using? (eg Google Drive)

Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)

sudo /usr/bin/rclone mount --allow-other --vfs-cache-max-size 500G --dir-cache-time 5m --vfs-cache-max-age 15m --vfs-cache-poll-interval 1m --vfs-read-ahead 2G --bwlimit-file 32M --rc-no-auth --drive-pacer-burst 200 --config=/root/.config/rclone/rclone.conf --vfs-cache-max-age 5000h  --vfs-read-chunk-size=64M  --vfs-read-chunk-size-limit=2048M --user-agent=NAS --cache-dir /volume1/rclone/cache --drive-pacer-min-sleep 0s --cache-db-path /volume1/rclone/db --log-level NOTICE --log-file="/volume1/rclone/log/rclone-cache-$NOW.txt" gdrive: /volume1/gdrive &

The rclone config contents with secrets removed.

sudo /usr/bin/rclone mount 
--allow-other  /
--vfs-cache-max-size 500G  /
--dir-cache-time 5m  /
--vfs-cache-max-age 15m  /
--vfs-cache-poll-interval 1m  /
--vfs-read-ahead 2G  /
--bwlimit-file 32M  /
--rc-no-auth  /
--drive-pacer-burst 200  /
--config=/root/.config/rclone/rclone.conf  /
--vfs-cache-max-age 5000h   /
--vfs-read-chunk-size=64M   /
--vfs-read-chunk-size-limit=2048M  /
--user-agent=NAS  /
--cache-dir /volume1/rclone/cache  /
--drive-pacer-min-sleep 0s  /
--cache-db-path /volume1/rclone/db  /
--log-level NOTICE  /
--log-file="/volume1/rclone/log/rclone-cache-$NOW.txt"  /
gdrive: /volume1/gdrive &

hello and welcome to the forum,

16GiB is more than enough to run rclone, i have run rclone mount on a 128MiB mini router,

i suggest a simpler command, using defaults.
to remove
--vfs-read-ahead 2G
--vfs-read-chunk-size=64M
--vfs-read-chunk-size-limit=2048M

--cache-db-path, that is for the deprecated cache remote.
cannot confirm as the redacted config was never posted.

--drive-pacer-min-sleep 0s - never saw that value before?
commonly suggested value is 10ms

gdrive is a polling remote, when using rclone.mount+gdrive+plex, would use
--dir-cache-time=5000h
--poll-interval=10s

I did some changes after initial post, now works great. I think my problem was using --allow-non-empty instead of fusermount -uz and mount again. Then i did rclone rc vfs/refresh recursive=true and it did wonders. I will test how it goes this weak before doing anything.
Here my new commands:

sudo /usr/bin/rclone mount
--allow-other /
--vfs-cache-mode full /
--vfs-cache-max-size 500G /
--dir-cache-time 8760h /
--vfs-cache-max-age 300s /
--vfs-cache-poll-interval 1m /
--bwlimit-file 32M /
--buffer-size 0 /
--rc /
--rc-no-auth /
--drive-pacer-burst 200 /
--config=/root/.config/rclone/rclone.conf /
--vfs-read-ahead 1G /
--vfs-cache-max-age 30m /
--user-agent=NAS /
--cache-dir /volume1/rclone/cache /
--drive-pacer-min-sleep 10ms /
--cache-tmp-wait-time 5m /
--log-level NOTICE /
--log-file /volume1/rclone/log/file.log /
gdrive: /volume1/gdrive &

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.