Rclone cache not respecting --vfs-cache-max-size

What is the problem you are having with rclone?

My rclone cache not respecting --vfs-cache-max-size for one of my mounts. My disk is filling up and not respecting my --vfs-cache-max-size which should be set to 200G.

Here's my mount command:

rclone mount --uid=99 --gid=100 --allow-other --links --use-cookies --vfs-cache-mode=full --vfs-cache-max-size=200G --cache-dir=/mnt/user/streaming/cache/nzbdav --vfs-cache-max-age=24h --buffer-size=0M --vfs-read-ahead 1G --dir-cache-time=20s nzb-dav: /mnt/user/streaming/nzbdav &

But here's the current size of my cache directory:

root@Highlander:/mnt/user/streaming/cache# du -h --max-depth=1 | sort -hr 
717G    .
715G    ./nzbdav

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

root@Highlander:~# rclone version
rclone v1.72.1

  • os/version: slackware 15.0+ (64 bit)
  • os/kernel: 6.12.54-Unraid (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.25.5
  • go/linking: static
  • go/tags: none

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

nzbdav (webdav)

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

rclone mount --uid=99 --gid=100 --allow-other --links --use-cookies --vfs-cache-mode=full --vfs-cache-max-size=200G --cache-dir=/mnt/user/streaming/cache/nzbdav --vfs-cache-max-age=24h --buffer-size=0M --vfs-read-ahead 1G --dir-cache-time=20s nzb-dav: /mnt/user/streaming/nzbdav &

The rclone config contents with secrets removed.

[nzb-dav]
type = webdav
url = http://192.168.1.1:3000
vendor = other
user = admin
pass = xxxxxxxx

that is not a hard limit.
if a file is in-use, open, locked, then rclone will not remove it.

the answer should be in the debug log.


in most cases, rclone uses sparse files, so the actual disk usage might be different than apparent size.
might try du --apparent-size or ncdu

Thanks. I'm going to turn on Debug logging once I can get users off my server.