Closed mechanimal82 closed 6 years ago
It works as expected! You are just confused by the average speed on the total transferred. At 07:00:32 you had transferred 80,138 GB, at 07:57:32 it was 85.983 GB. So: (85983-80138)/(5760)=1,7091 MB / s The output doesn't look that way because you transferred 80.138 GB - 23.898 GB = 56,24 GB at full speed. So just for a complete calculation: (23,8 1,75 + 56,3 2 + 5,8 1,75) / 85,9 = 1,91 MB / s The difference to the logfile is probably because your full speed is a little bit higher than 2 MB / s.
Cheers
edit:to be sure you can always check your current speed, for example with nload under linux.
Ah - That's average speed. OK; makes a little more sense.
Only I also checked the network speed from the resource monitor on the QNAP and it's outputting a constant 2MBps, indicating that the process is still going full pelt.
Let me try again today and leave it running a little longer tomorrow and hopefully it'll return back - else I'll have my wife complaining that the Internet is going slow again :-)
Thanks - At least I know it's not something I'm doing wrong; just need to be a little more patient.
Yeah, another thing: The limit isn't really a "fixed" limit, like a complete cap or something. When i look at the current speed on my server it very often goes over the limit. But in the end the average speed (lets say average over a few minutes) equals the bwlimit.
SInce we haven't heard back, I'm going to assume this is fixed!
So I'm running rclone on my QNAP NAS to upload to Amazon encrypted. As we are on only an OK connection I'm limiting bandwidth during the day to ensure that our download speed is not affected (when using the upload without limit affects our download speed due to the inability to properly handshake with the server)... Anyway; I set the schedule as
/usr/bin/rclone copy /share/CACHEDEV1_DATA/Multimedia/TV/ acdcrypt:/TV/ --bwlimit "07:00,1.75M 23:30,off" -c --no-traverse --delete-after -vv --log-file=/share/CACHEDEV1_DATA/Public/uploadTV.log
Below are extracts of the log which are relevant... Happy to attach the entire log if required.
Essentially it seems that the limit intially works OK when the scedule day is the same day the command was run (as noted with the scedule correctly changing at 23:00)... when the new day comes rclone seems to request a limit set (as seen in the log), but this does not get passed properly.
Am I missing something? Seems like a bug to me unless my lack of experience is yet again failing me.
At 23:00, as scheduled the limits are disabled and my speed goes to my maximum (2MB):
Come 07:00 when the limiter is set to reset back to 1.75MB, it records it correctly:
However it appears the schedule has not reset to my required 1.75MB: