My mount keeps crashing reporting this:
2019/02/12 18:11:12 ERROR : Video/Series/How I Met Your Mother/Season 4/How I Met Your Mother S04E01.mp4: unexpected conditions during reading. current position: 296722432, current chunk position: 293601280, current chunk size: 1929216, offset: 3121152, chunk size: 10M, file size: 1004514697
2019/02/12 18:11:12 ERROR : Video/Series/How I Met Your Mother/Season 4/How I Met Your Mother S04E01.mp4: ReadFileHandle.Read error: low level retry 1/10: EOF
fatal error: runtime: out of memory
I am running a VPS just dedicated to PLEX, with 20 gb’s of SSD, 2 gb of memory and 1 processor of at least 2 ghz [OVH].
My rclone.conf file looks like this:
[OneDrive]
type = onedrive
token = Hidden
drive_id = Hidden
drive_type = business
use_trash = false
chunk_size = 10M
The mountingsettings are as follows:
rclone -v --log-file /home/Support/Logs/LogOneDrive.log
mount O-Cache:/ /mnt/OneDrive
–rc
–allow-other
–buffer-size 512M
–max-read-ahead 512M
–gid=1000
–uid=1000
–dir-cache-time 2h
–fast-list
–onedrive-chunk-size 10M
–cache-chunk-path=/home/Support/o-cache2
–cache-db-path=/home/Support/o-cache2
–vfs-read-chunk-size 64M
–vfs-read-chunk-size-limit 50G
–umask 002
Does anyone have any suggestions on troubleshooting? I am kind of stuck now… Would be highly appreciated! Thanks!
You are running out of memory as you are opening 512M per file.
Few other things:
–fast-list does nothing on mounts
–max-read-ahead 512M does nothing unless you have a custom compiled kernel.
If you are using the cache backend, you should set your buffer size to 0M as it does its own thing. A chunk size of 10M is super tiny too. You should set that to 32M or 64M.
Seems to be crashing all the time now. Worked yesterday but seems to be crashing now with those settings as well. Looks as if maybe something else ‘broke’ although I was only configuring rclone… Lol
I’ll just try to run it without the cache, to see if that works.
You could also try to set --cache-chunk-no-memory to see if that helps too. It would slow it down, but if you are memory limited, you’d gotta sacrifice some speed.
What else is running on it besides Plex and rClone?