What is the problem you are having with rclone?
rclone serve dlna
not respecting --bw-limit
at first, rclone goes many times over the limit, then seems to settle down.
i can verify this two ways.
- the output of
--progress
- using software nethogs
thanks,
What is your rclone version (output from rclone version
)
Which OS you are using and how many bits (eg Windows 7, 64 bit)
pi zero raspbian - debian buster 32bit
Which cloud storage system are you using? (eg Google Drive)
internet sftp server over an openvpn
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone serve dlna remote: --buffer-size=0 --addr=192.168.62.115:7879 --cache-dir=/home/pi/rclone/cache --vfs-cache-mode=full --use-mmap --read-only --no-checksum --no-modtime --dir-cache-time=1m --name=pizero --progress --bwlimit=100k
The rclone config contents with secrets removed.
[remote]
type = sftp
host = 123.456.789.000
user = ...
pass = ...
md5sum_command = none
sha1sum_command = none
A log from the command with the -vv
flag
DEBUG : rclone: Version "v1.54.1" starting with parameters ["rclone" "serve" "dlna" "remote:files/done" "--buffer-size=0" "--addr=192.168.62.115:7879" "--cache-dir=/home/pi/rclone/cache" "--vfs-cache-mode=full" "--use-mmap" "--read-only" "--no-checksum" "--no-modtime" "--dir-cache-time=1m" "--name=pizero" "--progress" "--bwlimit=100k" "-vv"]
DEBUG : Using config file from "/home/pi/.config/rclone/rclone.conf"
INFO : Starting bandwidth limiter at 100kBytes/s
DEBUG : Creating backend with remote "remote:files/done"
DEBUG : sftp://psb52793@10.255.254.1:22/files/done: New connection 10.255.254.30:33408->10.255.254.1:22 to "SSH-2.0-mod_sftp"
DEBUG : sftp://psb52793@10.255.254.1:22/files/done: Using absolute root directory "/files/done"
INFO : sftp://psb52793@10.255.254.1:22/files/done: poll-interval is not supported by this remote
DEBUG : vfs cache: root is "/home/pi/rclone/cache/vfs/remote/files/done"
DEBUG : vfs cache: metadata root is "/home/pi/rclone/cache/vfs/remote/files/done"
DEBUG : Creating backend with remote "/home/pi/rclone/cache/vfs/remote/files/done"
NOTICE: sftp://psb52793@10.255.254.1:22/files/done: Serving HTTP on 192.168.62.115:7879
INFO : DLNA server on 192.168.62.115:7879: Started SSDP on tun0
INFO : DLNA server on 192.168.62.115:7879: Started SSDP on wlan0
NOTICE: sftp://psb52793@10.255.254.1:22/files/done: Serving HTTP on 192.168.62.115:7879
INFO : /r/video/movies/movie.mp4: 192.168.62.242:37684 GET 206
Transferred: 928k / 2.085 GBytes, 0%, 335.464 kBytes/s, ETA 1h48m34s
Transferred: 0 / 1, 0%
Elapsed time: 9.6s
Transferring:
* video/movies/movie.mp4: 0% /2.085G, 413.939k/s, 1h27m59s