OSX: cache just stops

Hi, I am having an issue with keeping the connection stable.

I am using rclone for plex. Basically it seems that it stops working after a while. It seems to be data driven as I am unable to complete a library scan. It will only do maybe 3 shows before quitting, so about 200 episodes.

rclone v1.43.1
- os/arch: darwin/amd64
- go version: go1.11

command:
rclone mount --allow-other -vv --daemon --log-file rclonelog.log --cache-tmp-wait-time=24h --cache-writes rwteamdrive-cache: GoogleTeamDrive

Log:

head -n 30 rclonelog.clean.log

2018/09/19 19:39:14 DEBUG : rclone: Version "v1.43.1" starting with parameters ["rclone" "mount" "--allow-other" "-vv" "--daemon" "--log-file" "rclonelog.log" "--cache-tmp-wait-time=24h" "--cache-writes" "rwteamdrive-cache:" "GoogleTeamDrive"]
2018/09/19 19:39:14 DEBUG : Using config file from "/Users/XXXXXXX/.config/rclone/rclone.conf"
2018/09/19 19:39:14 DEBUG : rwteamdrive-cache: wrapped rwteamdrive: at root 
2018/09/19 19:39:14 INFO  : rwteamdrive-cache: Cache DB path: /Users/XXXXXXX/Library/Caches/rclone/cache-backend/rwteamdrive-cache.db
2018/09/19 19:39:14 INFO  : rwteamdrive-cache: Cache chunk path: /Users/XXXXXXX/Library/Caches/rclone/cache-backend/rwteamdrive-cache
2018/09/19 19:39:15 INFO  : rwteamdrive-cache: Chunk Memory: true
2018/09/19 19:39:15 INFO  : rwteamdrive-cache: Chunk Size: 5M
2018/09/19 19:39:15 INFO  : rwteamdrive-cache: Chunk Total Size: 10G
2018/09/19 19:39:15 INFO  : rwteamdrive-cache: Chunk Clean Interval: 1m0s
2018/09/19 19:39:15 INFO  : rwteamdrive-cache: Workers: 4
2018/09/19 19:39:15 INFO  : rwteamdrive-cache: File Age: 4d
2018/09/19 19:39:15 DEBUG : Adding path "cache/expire" to remote control registry
2018/09/19 19:39:15 DEBUG : Adding path "cache/stats" to remote control registry
2018/09/19 19:39:15 DEBUG : rclone: Version "v1.43.1" finishing with parameters ["rclone" "mount" "--allow-other" "-vv" "--daemon" "--log-file" "rclonelog.log" "--cache-tmp-wait-time=24h" "--cache-writes" "rwteamdrive-cache:" "GoogleTeamDrive"]
2018/09/19 19:39:15 INFO  : plex: stopped Plex watcher
2018/09/19 19:39:15 DEBUG : Cache remote rwteamdrive-cache:: Services stopped
2018/09/19 19:39:15 DEBUG : rclone: Version "v1.43.1" starting with parameters ["rclone" "mount" "--allow-other" "-vv" "--daemon" "--log-file" "rclonelog.log" "--cache-tmp-wait-time=24h" "--cache-writes" "rwteamdrive-cache:" "GoogleTeamDrive"]
2018/09/19 19:39:15 DEBUG : Using config file from "/Users/XXXXXXX/.config/rclone/rclone.conf"
2018/09/19 19:39:15 DEBUG : rwteamdrive-cache: wrapped rwteamdrive: at root 
2018/09/19 19:39:15 INFO  : rwteamdrive-cache: Cache DB path: /Users/XXXXXXX/Library/Caches/rclone/cache-backend/rwteamdrive-cache.db
2018/09/19 19:39:15 INFO  : rwteamdrive-cache: Cache chunk path: /Users/XXXXXXX/Library/Caches/rclone/cache-backend/rwteamdrive-cache
2018/09/19 19:39:15 INFO  : rwteamdrive-cache: Chunk Memory: true
2018/09/19 19:39:15 INFO  : rwteamdrive-cache: Chunk Size: 5M
2018/09/19 19:39:15 INFO  : rwteamdrive-cache: Chunk Total Size: 10G
2018/09/19 19:39:15 INFO  : rwteamdrive-cache: Chunk Clean Interval: 1m0s
2018/09/19 19:39:15 INFO  : rwteamdrive-cache: Workers: 4
2018/09/19 19:39:15 INFO  : rwteamdrive-cache: File Age: 4d
2018/09/19 19:39:15 DEBUG : Adding path "cache/expire" to remote control registry
2018/09/19 19:39:15 DEBUG : Adding path "cache/stats" to remote control registry
2018/09/19 19:39:15 DEBUG : Cache remote rwteamdrive-cache:: Mounting on "GoogleTeamDrive"

tail -n 30 rclonelog.clean.log

2018/09/19 20:15:53 DEBUG : Media/TV/Arrested Development/S01 Bluray: cache: expired 
2018/09/19 20:15:53 DEBUG : Media/TV/Arrested Development/S01 Bluray/Arrested Development S01E21 Not Without My Daughter (1080p BluRay x265 HEVC 10bit AAC 2.0 BugsFunny) [UTR].mkv: notify: expired 'Media/TV/Arrested Development/S01 Bluray'
2018/09/19 20:15:53 INFO  : Media/TV/Arrested Development/S01 Bluray/Arrested Development S01E10 Pier Pressure (1080p BluRay x265 HEVC 10bit AAC 2.0 BugsFunny) [UTR].mkv: received cache expiry notification
2018/09/19 20:15:53 DEBUG : Media/TV/Arrested Development/S01 Bluray: cache: expired Media/TV/Arrested Development/S01 Bluray
2018/09/19 20:15:53 DEBUG : Media/TV/Arrested Development/S01 Bluray: cache: expired Media/TV/Arrested Development
2018/09/19 20:15:53 DEBUG : Media/TV/Arrested Development/S01 Bluray: cache: expired Media/TV
2018/09/19 20:15:53 DEBUG : Media/TV/Arrested Development/S01 Bluray: cache: expired Media
2018/09/19 20:15:53 DEBUG : Media/TV/Arrested Development/S01 Bluray: cache: expired 
2018/09/19 20:15:53 DEBUG : Media/TV/Arrested Development/S01 Bluray/Arrested Development S01E10 Pier Pressure (1080p BluRay x265 HEVC 10bit AAC 2.0 BugsFunny) [UTR].mkv: notify: expired 'Media/TV/Arrested Development/S01 Bluray'
2018/09/19 20:15:53 DEBUG : Google drive root '': All changes were processed. Waiting for more.
2018/09/19 20:16:18 DEBUG : Cache remote rwteamdrive-cache:: starting cleanup
2018/09/19 20:16:18 INFO  : cache-cleanup: chunks 16, est. size: 72.036M
2018/09/19 20:16:37 DEBUG : Media/TV/Will & Grace/Season 06/Will & Grace - 06x17 - East Side Story.m4v: moving offset set from 0 to 0
2018/09/19 20:16:38 DEBUG : Media/TV/Will & Grace/Season 06/Will & Grace - 06x17 - East Side Story.m4v: cache reader closed 93244381
2018/09/19 20:16:38 DEBUG : Media/TV/Will & Grace/Season 06/Will & Grace - 06x17 - East Side Story.m4v: ChunkedReader.Read at 4096 length 8192 chunkOffset 0 chunkSize 134217728
2018/09/19 20:16:38 DEBUG : Media/TV/Will & Grace/Season 06/Will & Grace - 06x17 - East Side Story.m4v: ChunkedReader.Read at 12288 length 16384 chunkOffset 0 chunkSize 134217728
2018/09/19 20:16:38 DEBUG : Media/TV/Will & Grace/Season 06/Will & Grace - 06x17 - East Side Story.m4v: ChunkedReader.Read at 28672 length 32768 chunkOffset 0 chunkSize 134217728
2018/09/19 20:16:38 DEBUG : Media/TV/Will & Grace/Season 06/Will & Grace - 06x17 - East Side Story.m4v: ChunkedReader.Read at 61440 length 65536 chunkOffset 0 chunkSize 134217728
2018/09/19 20:16:38 DEBUG : Media/TV/Will & Grace/Season 06/Will & Grace - 06x17 - East Side Story.m4v: ChunkedReader.Read at 126976 length 131072 chunkOffset 0 chunkSize 134217728
2018/09/19 20:16:38 DEBUG : Media/TV/Will & Grace/Season 06/Will & Grace - 06x17 - East Side Story.m4v: ChunkedReader.Read at 258048 length 262144 chunkOffset 0 chunkSize 134217728
2018/09/19 20:16:38 DEBUG : Media/TV/Will & Grace/Season 06/Will & Grace - 06x17 - East Side Story.m4v: ChunkedReader.Read at 520192 length 524288 chunkOffset 0 chunkSize 134217728
2018/09/19 20:16:38 DEBUG : &{Media/TV/Will & Grace/Season 06/Will & Grace - 06x17 - East Side Story.m4v (r)}: >Read: read=65536, err=<nil>
2018/09/19 20:16:38 DEBUG : Media/TV/Will & Grace/Season 06/Will & Grace - 06x17 - East Side Story.m4v: ChunkedReader.Read at 1044480 length 1048576 chunkOffset 0 chunkSize 134217728
2018/09/19 20:16:38 DEBUG : rclone: Version "v1.43.1" finishing with parameters ["rclone" "mount" "--allow-other" "-vv" "--daemon" "--log-file" "rclonelog.log" "--cache-tmp-wait-time=24h" "--cache-writes" "rwteamdrive-cache:" "GoogleTeamDrive"]
2018/09/19 20:16:38 INFO  : plex: stopped Plex watcher
2018/09/19 20:16:38 DEBUG : Media/TV/Will & Grace/Season 06/Will & Grace - 06x17 - East Side Story.m4v: ChunkedReader.Read at 2093056 length 1048576 chunkOffset 0 chunkSize 134217728
2018/09/19 20:16:38 DEBUG : Media/TV/Will & Grace/Season 06/Will & Grace - 06x17 - East Side Story.m4v: ChunkedReader.Read at 3141632 length 1048576 chunkOffset 0 chunkSize 134217728
2018/09/19 20:16:38 DEBUG : Media/TV/Will & Grace/Season 06/Will & Grace - 06x17 - East Side Story.m4v: ChunkedReader.Read at 4190208 length 1048576 chunkOffset 0 chunkSize 134217728
2018/09/19 20:16:38 DEBUG : Media/TV/Will & Grace/Season 06/Will & Grace - 06x17 - East Side Story.m4v: ChunkedReader.Read at 5238784 length 1048576 chunkOffset 0 chunkSize 134217728
2018/09/19 20:16:38 DEBUG : Cache remote rwteamdrive-cache:: Services stopped

This is the only thing now stopping me from deploying. I’ve run rclone on ubuntu servers with the same command and haven’t had any issues like this. Thank you, Any help would be appreciated

If you search the forum and the issues you’ll see similar issues with rclone mount just coming to a halt on macOS for unknown reasons!

This issue is one we haven’t solved yet, so any insight appreciated.

You may find things in the kernel log which will help.

1 Like