Rclone Union tpslimit

What is the problem you are having with rclone?

Having a doubt/question when using rclone union mount the --tpslimit applies to all the remotes or its per remote.

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

rclone v1.67.0

  • os/version: ubuntu 22.04 (64 bit)
  • os/kernel: 5.15.0-118-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.22.4
  • go/linking: static
  • go/tags: none

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

Dropbox

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

[Unit]
Description=Rclone Plex
Wants=network-online.target
After=network-online.target

[Service]
Type=notify
Environment=RCLONE_CONFIG=/home/ubuntu/.config/rclone/rclone.conf
RestartSec=5
ExecStart=/usr/bin/rclone mount "Plex:" /home/ubuntu/plex \
--allow-other \
--read-only \
--allow-non-empty \
--dir-cache-time 9999h \
--log-file /home/ubuntu/logs/plex.log \
--log-level INFO \
--umask 002 \
#--vfs-refresh \
--rc \
--rc-addr 127.0.0.1:5572 \
--rc-no-auth \
#--cache-dir=/home/ubuntu/temp \
--vfs-cache-mode=off \
#--vfs-cache-mode full \
#--vfs-cache-max-size 10G \
#--vfs-fast-fingerprint \
#--vfs-cache-max-age 9999h \
#--vfs-read-ahead 128Mi \
#--disable-http2 \
--buffer-size 100M \
--timeout 500h \
--attr-timeout 20s \
--no-checksum \
--use-server-modtime \
--tpslimit 12 \
--tpslimit-burst 0
ExecStop=/bin/fusermount3 -uz /home/ubuntu/plex
#ExecStartPost=/usr/bin/rclone rc vfs/refresh recursive=true --url 127.0.0.1:5572 _async=true
ExecStartPost=/home/ubuntu/precache.sh
Restart=on-failure
User=ubuntu
Group=ubuntu

[Install]
WantedBy=multi-user.target

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

[Anime]
type = dropbox
client_id = XXX
client_secret = XXX
token = XXX

[Animecrypt]
type = crypt
remote = Anime:backup/軹軃⩓賎絍䙞嘥⍿ⲿ/膥㵞䭈ꕃ杠嘅颿㸵迟
password = XXX
password2 = XXX
filename_encoding = base32768

[Audio]
type = dropbox
client_id = XXX
client_secret = XXX
token = XXX

[Audiocrypt]
type = crypt
remote = Audio:backup/軹軃⩓賎絍䙞嘥⍿ⲿ/芕糺芋朹桳䈥㶣詫繟
password = XXX
password2 = XXX
filename_encoding = base32768

[Books]
type = dropbox
client_id = XXX
client_secret = XXX
token = XXX

[Bookscrypt]
type = crypt
remote = Books:backup/軹軃⩓賎絍䙞嘥⍿ⲿ/䯴ᇧ䦵后䋘率⏏拵蛟
password = XXX
password2 = XXX
filename_encoding = base32768

[Plex]
type = combine
upstreams = "Anime=Animecrypt:" "Audio=Audiocrypt:" "Books=Bookscrypt:"

A log from the command that you were trying to run with the -vv flag

Paste  log here

They all have separate Dropbox App ID , so will it be tplslimit 12 for all of them combined or , tpslimit 12 for each Animecrypt,Audiocrypt and Bookscrypt.

@Animosity022 @asdffdsa any idea?

that is a global variable, therefore i assume it applies to the command, not remotes.

Well then making multiple App id is useless for union mount then :sweat_smile:

Not really. Using default app_id (shared one) you can still hit throttling (whatever tpslimit set) which when using your own app_id can be avoided.

Consider also that with default union policies you have 2min when everything new is written to a single remote.

i meant for the above use case.

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