{"action":"created","issue":{"url":"https://api.github.com/repos/ncw/rclone/issues/2102","repository_url":"https://api.github.com/repos/ncw/rclone","labels_url":"https://api.github.com/repos/ncw/rclone/issues/2102/labels{/name}","comments_url":"https://api.github.com/repos/ncw/rclone/issues/2102/comments","events_url":"https://api.github.com/repos/ncw/rclone/issues/2102/events","html_url":"https://github.com/ncw/rclone/issues/2102","id":300492263,"number":2102,"title":"rclone crashing when plex library scan happens, but doesnt when i enable rclone log file.","user":{"login":"drpau","id":13581275,"avatar_url":"https://avatars1.githubusercontent.com/u/13581275?v=4","gravatar_id":"","url":"https://api.github.com/users/drpau","html_url":"https://github.com/drpau","followers_url":"https://api.github.com/users/drpau/followers","following_url":"https://api.github.com/users/drpau/following{/other_user}","gists_url":"https://api.github.com/users/drpau/gists{/gist_id}","starred_url":"https://api.github.com/users/drpau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drpau/subscriptions","organizations_url":"https://api.github.com/users/drpau/orgs","repos_url":"https://api.github.com/users/drpau/repos","events_url":"https://api.github.com/users/drpau/events{/privacy}","received_events_url":"https://api.github.com/users/drpau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-27T04:45:43Z","updated_at":"2018-03-02T08:38:44Z","closed_at":null,"author_association":"NONE","body":"> What is your rclone version (eg output from `rclone -V`)\r\n```\r\nash-4.3# ./rclone --version\r\nrclone v1.39-184-gb91bd324-vfs-updateβ\r\n- os/arch: linux/amd64\r\n- go version: go1.10\r\n```\r\n\r\n> Which OS you are using and how many bits (eg Windows 7, 64 bit)\r\n```\r\nash-4.3# uname -a\r\nLinux Syn 3.10.102 #15254 SMP Fri Jan 26 06:46:44 CST 2018 x86_64 GNU/Linux synology_braswell_916+\r\n```\r\n\r\n> Which cloud storage system are you using? (eg Google Drive)\r\n`Google Drive > cache > crypt`\r\n\r\n> The command you were trying to run (eg `rclone copy /tmp remote:tmp`)\r\n\r\n`/volume1/rclone1.39-184/rclone mount this_one: /mnt/gdrive.de/ --allow-other --config=/volume1/rclone.conf --log-file=/dev/null &`\r\n\r\nI 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).\r\n\r\nIf 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.\r\n\r\nI have rclone same config / same setup on multiple boxes and it appears to be only affecting my Synology NAS (DS916+ 8GB).  \r\n\r\nIt _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.  \r\n\r\nNot sure how to proceed as any attempts at verbosity/logging, assists stability... but to repeat the error i need to disable logging and verbosity :( "},"comment":{"url":"https://api.github.com/repos/ncw/rclone/issues/comments/369857021","html_url":"https://github.com/ncw/rclone/issues/2102#issuecomment-369857021","issue_url":"https://api.github.com/repos/ncw/rclone/issues/2102","id":369857021,"user":{"login":"remusb","id":5675944,"avatar_url":"https://avatars2.githubusercontent.com/u/5675944?v=4","gravatar_id":"","url":"https://api.github.com/users/remusb","html_url":"https://github.com/remusb","followers_url":"https://api.github.com/users/remusb/followers","following_url":"https://api.github.com/users/remusb/following{/other_user}","gists_url":"https://api.github.com/users/remusb/gists{/gist_id}","starred_url":"https://api.github.com/users/remusb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remusb/subscriptions","organizations_url":"https://api.github.com/users/remusb/orgs","repos_url":"https://api.github.com/users/remusb/repos","events_url":"https://api.github.com/users/remusb/events{/privacy}","received_events_url":"https://api.github.com/users/remusb/received_events","type":"User","site_admin":false},"created_at":"2018-03-02T08:38:43Z","updated_at":"2018-03-02T08:38:43Z","author_association":"COLLABORATOR","body":"@daniel-loader polled. Typically after the first few chunks are read it will pick up in rclone too. It's actually Plex that takes longer to say that it's playing something. This is especially worse if it's transcoding, the transcoder will need more data before actually saying it's playing something.\r\n\r\nrclone checks this at every new chunk which is a suitable compromise I would say. Once it's confirmed, it doesn't check again the entire playback."}}
{"actor":{"display_login":"remusb"}}