What is the problem you are having with rclone?
Was watching a long video directly from a mounted B2 remote. After 30 minutes the video froze. Can't do anything. In my ubuntu box, rclone log is showing normal activity, VFS doing uploads, nothing wrong. I try to navigate to the video file via ls
— it works. I try to read one line from the beginning of the video file using head -n1 filename
— it hangs forever.
I restarted the mounts, and it started working again. I wanted to figure out what might've caused this and noticed that rclone was using ~7GB of ram. That seemed more than I expected with my mount config, so I went and reduced --transfers from 16 to 10, and --buffer-size from 64mb to 32mb. Reloaded the mount.
I continued watching the video, and this time also watched the RAM. RAM was rising fast and went up to 6.2GB, but then it stayed there and video kept working fine. But another 1.5hours later same thing. Video froze again.
Worth noting is that rclone has been uploading stuff to B2 this entire time, while I've been watching.
Run the command 'rclone version' and share the full output of the command.
rclone v1.64.0
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-84-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.1
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
B2
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Please let me know if I'm doing something unadvisable in these arguments.
Note: the time of bug was outside of the bwlimit
1M window.
/usr/bin/rclone mount B2:MyBucket/dir /path/to/mount \
--allow-other \
--b2-chunk-size 50M \
--b2-hard-delete \
--buffer-size 32M \
--bwlimit "07:00,1M:off 23:45,off" \
--cache-dir /home/user/RCloneCache \
--config /home/user/.config/rclone/rclone.conf \
--dir-cache-time 87600h \
--disable-http2 \
--fast-list \
--log-level INFO \
--poll-interval 0 \
--transfers 10 \
--use-mmap \
--vfs-cache-max-age 8760h \
--vfs-cache-max-size 1400G \
--vfs-cache-mode full \
--vfs-write-back 15m \
--vfs-read-ahead 200M \
--vfs-read-chunk-size-limit 500M \
--rc --rc-no-auth
The rclone config contents with secrets removed.
[B2]
type = b2
account = *removed*
key = *removed*
A log from the command with the -vv
flag
I was running with log level INFO
, but now switched to DEBUG
. I'm still leaving this report here, because I see that there was a lot of B2 refactoring, and mentions of hanging, in case this is already a known issue. I will update with DEBUG log if I catch it again.
Update: The last 20 mins of video finished without an issue, so will have to try reproducing this log at another time.