rclone: rclone crashing when plex library scan happens, but doesnt when i enable rclone log file.

What is your rclone version (eg output from rclone -V)

ash-4.3# ./rclone --version
rclone v1.39-184-gb91bd324-vfs-updateβ
- os/arch: linux/amd64
- go version: go1.10

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

ash-4.3# uname -a
Linux Syn 3.10.102 #15254 SMP Fri Jan 26 06:46:44 CST 2018 x86_64 GNU/Linux synology_braswell_916+

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

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

/volume1/rclone1.39-184/rclone mount this_one: /mnt/gdrive.de/ --allow-other --config=/volume1/rclone.conf --log-file=/dev/null &

I am running the above command and this is appearing to artificially slow down the library scan. (eg what normally takes approx 20mins, now takes a few hours).

If i remove --logfile=/dev/nulll the speed increase returns however rclone regularly crashes. I have tried to log the output to capture the crash, however, when logging is enabled this seemingly artificial slowdown improves stability.

I have rclone same config / same setup on multiple boxes and it appears to be only affecting my Synology NAS (DS916+ 8GB).

It appears that the amount of requests that are done with a Scan of Library in PMS, causes rclone to crash if its not being forced to write a log file. With the log file enabled, it is far slower, but far more stable.

Not sure how to proceed as any attempts at verbosity/logging, assists stability… but to repeat the error i need to disable logging and verbosity 😦

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 27 (11 by maintainers)

Commits related to this issue

Most upvoted comments

@seuffert I found a table somewhere comparing both versions, x/net/websocket was already in the project, had enough features for this simple use case so I went with it.

right - websockets take care of reconnecting.

@remusb one more question, any reason in particular you chose golang.org/x/net/websocket over github.com/gorilla/websocket? just curious 😃

@drpau yes, it got uploaded in the meantime