Hey guys,
I'm running a Jellyfin Server with 50 TB+ of storage (a few sharepoint shares connected) and watched the rclone debug log for a long time now, hoping not to trigger the pacer...here are my conclusions:
Setting up jellyfin at first needs to scan the whole library, surfing through each folder and file and build up an index, while transferring a LOT of small files. (metadata) means a lot of queries in a short period.
-> Consider using your local storage OR a remote share with FTP by 10 connections allowed in parallel. Saving this on remote like Onedrive shares causes slow browsing experience for the user, and triggers the pacer pretty fast....
Conclusion 1: Metadata -> FTP (or some other fast remote other than providers with query limit)
then, serving videos is done by onedrive business shares.
You need to limit the transactions (tpslimit), before getting the pacer skyrocketing way beyond 5m cooldown.
by scanning the library I often hit the limit and started the tpslimit with parameter "20".
The scans went fast but hits the pacer pretty early....
Then I decreased the number one by one (I often started again scanning) until I landed at "3", with almost no triggering a pacer.
Conclusion 2: Video remotes -> tpslimit 3
tpslimit = 3 is still a good compromise between streaming videos fast and scanning metadata in an acceptable time period.
right now remote mounts have the following parameters and going fine with it.
I build them as a service
Sadly I can't give you any experiences for onedrive personal...I personally don't use it
hope it helps someone, someday building with onedrive business / sharepoint
[Unit]
Description=rclone: Remote FUSE filesystem for cloud storage config %i
Documentation=man:rclone(1)
After=network-online.target
Wants=network-online.target
AssertPathIsDirectory=%h/mnt/%i
StartLimitInterval=200
StartLimitBurst=5
[Service]
Type=notify
Environment="RCLONE_CONFIG_PASS=mypasswordforconfig"
ExecStart= \
/usr/bin/rclone mount \
--config=%h/.config/rclone/rclone.conf \
--log-level INFO \
--log-file /root/logs/rclone-%i.log \
--umask 022 \
--vfs-cache-mode full \
--allow-other \
--no-modtime \
--cache-dir /root/rclone/cache \
--no-checksum \
--ignore-checksum \
--no-check-certificate \
--checkers 3 \
--tpslimit 3 \
--transfers 3 \
--dir-cache-time 12h \
--ignore-size \
--user-agent "ISV|rclone.org|rclone/v1.62.2" \
--vfs-cache-max-size 10G \
%i: %h/mnt/%i
ExecStop=/bin/fusermount -u %h/mnt/%i
Restart=always
RestartSec=30
[Install]
WantedBy=default.target