What is the problem you are having with rclone?
Hello,
Have been using rclone and the serve dlna function to serve audio from my router to various LAN clients with minimal success. Though initially functional\stable after a seemingly random period of time from the client side the audio playback is halted and the clients will eventually throw connection\timeout errors. From the server side what appers to be happening is the rclone process is driving up the load to the point of unresponsiveness both server and client side.
What is your rclone version (output from rclone version
)
Have tested with both versions v1.53.0 and the latest beta:
rclone v1.53.0
- os/arch: linux/mipsle
- go version: go1.15
rclone v1.57.0-beta.5681.fbc7f2e61
- os/version: openwrt 21.02.0-rc4
- os/kernel: 5.4.137 (mips)
- os/type: linux
- os/arch: mipsle
- go/version: go1.17.1
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
256GB USB 3.0 flash drive attached to single USB 2.0 port on router using F2FS file system on single partition
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
./rclone serve dlna audio/ --read-only --name SERVER1 -vv
The rclone config contents with secrets removed.
Not using config file, command line options only.
A log from the command with the -vv
flag
2021/10/02 19:41:34 INFO : /ctl: 10.20.30.44:60110 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2021/10/02 19:41:38 DEBUG : Eiffel 65/Europop (1999) [FLAC]/06 - Eiffel 65 - My Console .flac: ChunkedReader.Read at 25161728 length 1048576 chunkOffset 0 chunkSize 134217728
2021/10/02 19:41:39 DEBUG : Eiffel 65/Europop (1999) [FLAC]/06 - Eiffel 65 - My Console .flac: ChunkedReader.Read at 26210304 length 1048576 chunkOffset 0 chunkSize 134217728
2021/10/02 19:41:41 DEBUG : Eiffel 65/Europop (1999) [FLAC]/06 - Eiffel 65 - My Console .flac: ChunkedReader.Read at 27258880 length 1048576 chunkOffset 0 chunkSize 134217728
2021/10/02 19:41:42 DEBUG : Eiffel 65/Europop (1999) [FLAC]/06 - Eiffel 65 - My Console .flac: ChunkedReader.Read at 28307456 length 1048576 chunkOffset 0 chunkSize 134217728
2021/10/02 19:41:44 DEBUG : Eiffel 65/Europop (1999) [FLAC]/06 - Eiffel 65 - My Console .flac: ChunkedReader.Read at 29356032 length 1048576 chunkOffset 0 chunkSize 134217728
2021/10/02 19:41:46 INFO : /ctl: 10.20.30.44:60110 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2021/10/02 19:41:54 INFO : /ctl: 10.20.30.44:60110 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2021/10/02 19:41:56 INFO : /ctl: 10.20.30.44:60110 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2021/10/02 19:42:09 INFO : /ctl: 10.20.30.44:60118 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2021/10/02 19:42:09 INFO : /ctl: 10.20.30.44:60117 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2021/10/02 19:42:09 INFO : /ctl: 10.20.30.44:60119 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
2021/10/02 19:42:09 INFO : /ctl: 10.20.30.44:60120 POST 200 "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
It is at this point where the audio playback client side halts and the rclone process on the server\router drives up the load. I have tried with various --dir-cache-time, --vfs-read-chunk-size, --vfs-read-chunk-size-limit and --buffer-size options\values and they only seem to make things worse\more unstable where the audio playback is interrupted sooner (can't even get through a single song) and the the load spikes.
My audio directory contains 6309 FLAC files in roughly 242 sub-directories (max sub-directory depth likely doesn't exceed 3, typically Artist > Album but may also contain a Disc sub-directory in the parent Album directory), file sizes are on average between 20-60MB.
Any tips\pointers to smooth things out would be appreciated.