Bandwith limit doesn't work when it specifyed in remote control mode (rclone rc ..... --bwlimit 1M)
Interesting that flag --bwlimit-file 1M works as expected
Run the command 'rclone version' and share the full output of the command.
rclone v1.65.0
os/version: darwin 14.1.2 (64 bit)
os/kernel: 23.1.0 (x86_64)
os/type: darwin
os/arch: amd64
go/version: go1.21.4
go/linking: dynamic
go/tags: cmount
Which cloud storage system are you using? (eg Google Drive)
S3 --> S3
The command you were trying to run (eg rclone copy /tmp remote:tmp)
I have also tried set it up via config params: rclone rc sync/copy srcFs=SOURCE:buck1 dstFs=DEST:buck1 --rc-no-auth _config='{"BwLimit":"1M"}' -vv
This way also doesn't work
rclone rc options/set - As I know this command set bandwith to rcd instead of only one job. It means that another commands will inherit bandwith limits.
I am looking way to setup all params and run job in one command. Idea is to run several commandas with different options like BwLimit, Transfers ....
This is not instant though, bandwidth is only checked like every minute so you might have to wait a minute to see limits to kick in. Maybe this is why you consider it not working...
I have waited more than 2h, so I totally sure that it doesn't work. In example below, I decreased the count of transfers to 1 and used 'BwLimitFile' option just to simulate BwLimit. And it works, so I suggest that in some reason BwLimit doesnt work with rc command
To be honest, I thought so, after 3 days of experiments)) I was just very surprised why BwLimitFile works per command but BwLimit doesn't.
It would be nice to add to the documentation which options we can use in commands with rc and which ones only globally. In any case thank you for support!
That is because there is one bandwidth limiter per file, rather than a gobal one, so every time rclone makes a limiter for the file it uses the config you supplied.
Yes I agree.
The RC is a bit underdocumented and there are some things like this which don't work as expected which could be fixed.