Cache Disk Size Limit

What is the problem you are having with rclone?

I described cache directot size with 700GB but its only using leass then 100GB, im uploading hundrads videos every day. please check nd guide me

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

rclone v1.62.2

  • os/version: debian 11.1 (64 bit)
  • os/kernel: 5.10.0-9-amd64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.20.2
  • 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)

rclone serve http htvplay:box --template templatefile --dir-cache-time 5000h --vfs-cache-mode full --vfs-cache-max-age 5000h --vfs-cache-max-size 700G --cache-dir /www/wwwroot/cache --log-file /www/wwwroot/vplay.log --vfs-read-ahead 1G --transfers 32 --checkers 32 --tpslimit 12 --tpslimit-burst 12 --no-seek --read-only --disable-http2

The rclone config contents with secrets removed.

[htvplay]
type = dropbox
client_id = #######
client_secret = ########
token = {"access_token"}


A log from the command with the -vv flag

Paste  log here

You can't upload videos though rclone http serve only download them. Rclone will only cache downloaded content here.

How are you uploading the videos?

thanks @ncw for your reply
For uploading i means that im uploading videos on other side ( using another rclone stup for upload) and there are many users that are watching videos but rclone have a limited cache size, why not rclone using full size what i mentioned in cmd line?
this is my question.
Thanks again

If you shared a log file with an example, someone might be able to help.

Without anything to look at, it's really tough to guess what may or may not be going wrong.

That's why we have the template. That's why we ask for the log. Makes it easier for you and us when it's used.

the log file show nothing, below is log file whcih is created by cmd

2023/03/23 20:10:04 ERROR : 2023/03/5290c8862352cc62bf165fa1962e7698/720p_118.ts: vfs cache: failed to download: vfs reader: failed to write to cache file: 
2023/03/24 16:52:06 ERROR : 2023/03/db4c7c588531c6b7661d14f4108e7e99/360p_041.ts: vfs cache: failed to download: vfs reader: failed to write to cache file: 
2023/03/27 05:04:46 ERROR : 2023/03/86c5a64eac1410d9effe827417f25563/360p_234.ts: vfs cache: failed to download: vfs reader: failed to write to cache file: 

Thanks

Is there a reason you fight again being helped?

Run the mount with debug.

Share the full log.

Basically what's in the template.

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