Best cache config for windows vps

hi
im new to rclone and im using the latest version.in windows 2016 (vps)
i have gsuite and i installed IIS and DNS on vps in order to use vps as a download host.(for free movies download website)
i have 80tera data(movies ofcourse)
i have download movie site which visitors can download links directly
for mounting google drive as a windows drive(like drive c) i used.

--vfs-cache-mode full

i have 150gig free space on vps.and the port is good.its 10gig sharing port for vps.

the problem is when users click on the links in my main website.it took a while to start downloading.about 10-20 sec.
is there any way to use cache mode and config it best way to minimize the waiting time and increase speed?
vps details:
windows 2016
16ram
2 core 2.5ghz cpu
150 gig free space
location germany

hello and welcome to the forum,

when you posted, you should have been asked for information.
the more you share, the better we can help you.

What is the problem you are having with rclone?

What is your rclone version (output from rclone version)

Which OS you are using and how many bits (eg Windows 7, 64 bit)

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

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

Paste command here

The rclone config contents with secrets removed.

Paste config here

A log from the command with the -vv flag

Paste  log here

Have you tried the latest v1.53.0 version of rclone?

that is a good point.

there has been a significant upgrade to the vfs cache with v1.53.0.

with older versions of rclone 1.52.x and earlier, --vfs-cache-mode full meant that rclone would have to download the entire file to the local cache, and then rclone would make that the file available for use.

with 1.53.0, --vfs-cache-mode full, rclone will only download partial chunks as needed, thus to minimize the waiting time and disk space.
https://rclone.org/commands/rclone_mount/#vfs-cache-mode-full

you can find more details about it here

and you might find this useful
https://rclone.org/commands/rclone_serve/

no bro
i checked.i used 1.52
i got new version now(1.53)
how should i migrate to new version?!
i know its stupid question but im new to this wonderful rclone world:)

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

The rclone config contents with secrets removed.

1 Like

thx my friend
im trying new version

when i use a mount to read from a remote, i do the following

  • use --read-only
  • do not use --vfs-cache-mode
  • perhaps if needed, some --vfs-read-* flags

u mean * using --read-only
in faster than --vfs-cache-mode ?
i have website that users download links directly from gdrive through IIS installed on my vps.

the link that the end-user clicks, is generated from iis, that points to the rclone mount?

can you post the mount command?

then i would try the settings i suggested.

  • use --read-only
  • do not use --vfs-cache-mode
  • perhaps if needed, some --vfs-read-* flags
1 Like

thank you man.
i have

web.config

  • file in my drive. how can i change the permissions for it?.
    its not writable.
    i want make it read/write able.

web.config - is that a rclone config file or iis config file?

its for iis
when i choose the mounted drive in iis
it shows an error
Capture

can you post your mount command?

rclone mount --vfs-cache-mode full gdrive:/ x:

i used

--read-only
it didn't work

i find iis to be scary, no idea how to use it.

???

i used nssm too

yeah iis is local to vps.
i used gdrive mounted drive path(x) for setting
f1

do u have telegram account?