qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
27.04k stars 3.89k forks source link

Download Global Rate Limits not working #8433

Closed BChastko closed 3 years ago

BChastko commented 6 years ago

I just updated to 4.0.4, and now my download Global Rate Limits setting does not seem to be functioning properly. It currently does not reduce the limit of my download speed.

MVL99 commented 6 years ago

same problem

thalieht commented 6 years ago

Works fine for me.

MVL99 commented 6 years ago

doesn't limit the upload speeds

thalieht commented 6 years ago

Both download and upload limits work for me. A screenshot of your options would be great so i can give them a try, or if you suspect some specific option do share.

silktrader commented 6 years ago

I have the same issue with downloads (uTP protocol limits are on). I am attaching an excerpt from my settings.

image

qBittorrent.bak.txt

MVL99 commented 6 years ago

I just decided to switch back to the previous version. The problems with the latest update are not worth the hassle. Thanks

thalieht commented 6 years ago

Damn, i can't reproduce with @silktrader's settings either.

Patrick010 commented 6 years ago

Same here. Global Upload rate limitation does not work. It does work if I set a limit on each individual torrent.

hdcTenBasePid commented 6 years ago

qBt 4.0.4, Windows 10x64 16299.192

I haven't had the problem myself +/- a few KIB/s and if that is the problem, it's not, because of the nature of networks and doubly if using a VPN. Let alone to mention the algorithm that tries to distribute the bandwidth amongst competing torrents.

Here's a sample: 2018-02-18_12-05-17_qbt_speed

As can be seen the upload 46 KIB/s has exceeded the limit 42 KIB/s temporarily and there was a peak at 55.3 KIB/s sometime during the half hour, but on the whole the limit has been obeyed.

PS. Just noticed the problem was with the Alternate Limits, I'll try that out and see if it makes a difference in my configuration.

Bloodcore commented 6 years ago

Can confirm the same issue on my side. Though it seems to TRY to follow the limit, but it spikes 30-40% above the limit all the time. (4-5 times during a 10 second window.)

Currently set my limit at 800kb/s and it is mostly downloading at 1100kb/s, close to my connection limit.

BChastko commented 6 years ago

Neither my upload or download Global Rate Limits currently function in any amount, similar to what silktrader's image showed. Regardless of what I set the values at it uses the maximum speeds my connection allows. Setting the limits for each individual torrent works for me like Patrick010 suggested.

Bloodcore commented 6 years ago

Tried the method that Patrick010 suggested, seems to work as a workaround.

Hopefully this issue will be looked at before version 4.0.5.

hdcTenBasePid commented 6 years ago

Have checked Alternate Limit under my configuration and it is comparable to the Normal limit performance as per above.

An interesting remark by @dzmat in #8507 may also go towards an understanding of this phenomena.

djdan23 commented 6 years ago

I have the same Global Upload Speed limit not working. I have to go to each file and use "limit upload rate" to do the job. When I don't limit each file it goes up to 100kbs as set for the "DOWNLOAD", strange..... I have 4.0.4 (64bit) Never had a problem before this version ???? image7

BChastko commented 6 years ago

Both my global upload and download rate limits are working now. I'm not sure what the issue was previously, but I went to tools>options and set the global limits and now they work properly.

networkproblemsolver commented 6 years ago

I, too, have problems with Download and Upload Global Rate Limits. This was not a problem in 4.0.3, but in 4.0.4 it is a big problem. I have download limits set to 200k and it will run at 350-400 (my max bandwidth) and the upload limit is set to 5k and will jump up to 70k at times.

Bloodcore commented 6 years ago

Yeah.. Hoping for a release in the near future. Though I guess we'll wait for another Libtorrent release as well.

Also, where is Sledgehammer? Noticed he has been away for 3 weeks. Vacation? (not that it is any of my business.)

BChastko commented 6 years ago

The setting actually only works occasionally for me. Sometimes the torrents are restricted by the global setting, but sometimes torrents run at higher rates. It looked like only certain torrents are able to upload/download at faster rates. Not sure if this is a issue with certain torrents or with certain clients/peers. But same thing, I never had this problem until I upgraded to 4.0.4.

networkproblemsolver commented 6 years ago

qbittorrent-4-0-4-global-download-limits-issue

johnroyer commented 6 years ago

I have the same issue after upgrading to v4.0.4

2018-04-09_183304

Attachment is my settings. qBittorrent.ini.txt

mtourangeau commented 5 years ago

Still not fixed?

networkproblemsolver commented 5 years ago

Nope, still not working, I have to limit each individual download otherwise it sucks the entire band with down.

On Feb 14, 2019, at 3:57 PM, Mathieu Tourangeau notifications@github.com wrote:

Still not fixed?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

mtourangeau commented 5 years ago

I reinstalled version 3.3.16 and it’s working fine now.

networkproblemsolver commented 5 years ago

OK, I’ll try it, thanks

Jim

On Feb 14, 2019, at 9:31 PM, Mathieu Tourangeau notifications@github.com wrote:

I reinstalled version 3.3.16 and it’s working fine now.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

hdcTenBasePid commented 5 years ago

qBt 4.1.5, Windows 10x64 17134.590 On my setup (don't know yours above except @networkproblemsolver, @djdan23) I'm still getting approximately right bandwidth allocation (as in +0->15 KiBs). I'm expecting greater variation if using MiBs limits.

I don't think it will be possible to get the limit throttled to the exact limits we select. As mentioned above to many variables.

networkproblemsolver commented 5 years ago

That’s too bad, I know that Tixati can limit the download to an exact number.

Jim

On Mar 2, 2019, at 11:37 PM, hdcTenBasePid notifications@github.com wrote:

qBt 4.1.5, Windows 10x64 17134.590 On my setup (don't know yours above except @networkproblemsolver, @djdan23) I'm still getting approximately right bandwidth allocation (as in +0->15 KiBs). I'm expecting greater variation if using MiBs limits.

I don't think it will be possible to get the limit throttled to the exact limits we select. As mentioned above to many variables.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

Stroppymoppy commented 5 years ago

The limits are not even close - My download limit in global is set to 256 KiB/s and my download speed is ~ 1 MiB/s on the upload it is even worse 5 KiB/s limit and 125 KiB/s actual!!

image

networkproblemsolver commented 5 years ago

I found that the qBittorrent install on Ubuntu does respect all the download limits... just not the version installed on Manjaro...

dzmat commented 5 years ago

@networkproblemsolver could you provide us the qbittorrent version and libraries versiоns (frоm about window) on Ubuntu and Manjaro respectively, please?

networkproblemsolver commented 5 years ago

Can't give the Manjaro info, but the Peppermint OS Linux 9 versions are:

About window says:

wazerstar commented 5 years ago

I can confirm that windows on latest v.4.1.6 64bit version does not respect the global/upload limit.

Setting each torrent manual however works, tho kinda annoying.

BDAthans commented 5 years ago

Can confirm as of 05/25/2019, QBittorrent is not correctly limiting upload rate, same as reported above. Version: 4.1.6 OS: Windows 10 Pro x64, Version 1809 (Build 17763.503)

keepsformat commented 5 years ago

I noticed Qbittorrent's icon disappeared from notification area next to the clock in my Windows 7. First I restored the icon from options, simply uncheck and check the relevant box. After that when I try to limit download and upload it started to work my global settings.

I also checked this box, I don't remember if it was unchecked before. mstsc_6fN99hZhqd

adamnovagen commented 5 years ago

Just in case anyone was wondering if this was still a thing in the latest version, yep, it's still a thing in the latest version:

image

I even wondered if the "global rate limit" was only applying to each individual torrent rather than the bandwidth as a whole, but no, a five-minute test confirms that to also not be the case:

image

Not that this is a huge issue for me, but kind of a silly bug to exist. (Windows 64-bit version running here, if that matters.) I did actually try it with all three of the rate limits settings checked, too, but no change from that.

thalieht commented 5 years ago

Maybe qBt thinks they are LAN peers? Try checking the "Apply rate limit to peers on LAN" checkbox as well.

adamnovagen commented 5 years ago

Did that, as it's one of the three rate limits settings I mentioned above. Made no difference though.

BDAthans commented 5 years ago

This issue is still occurring for me on multiple Windows 10 Desktops on the same LAN in the latest build.

I'm not sure how this issue is not a huge issue since this prevents me from being able to download almost anything using qBitTorrent. At this point, I've stopped using qBitTorrent and have gone back to using other torrent clients, and they work fine. Not sure what's going on with qBitTorrent, but it's sad to see this issue remain unresolved, when there are other issues reported for the same general thing, downloading and rate limits not working properly.

wefalltomorrow commented 4 years ago

It sort of listens to the speed limits for me, but it can go 100-200KB/s higher than the limit which is quite annoying.

AtilioA commented 4 years ago

Checking "Apply rate limit to uTP protocol" did it for me (v4.1.4 64bit on Windows 10), although I still got spikes above the limit.

FranciscoPombal commented 4 years ago

TODO: git bissect with 3.3.16 as known-good. Additional note: might have to do with the recently fixed bug that an auto-port assignment (port 0) would mean 2 different ports for udp and tcp.

laixee commented 4 years ago

Hi. I had same problem for years but today I found the solution. I has closed TCP port. UDP was opened. Before i had 6989 port, but for some reason I coudnt open TCP 6989 (UDP 6989 works fine). Maybe its my router problem. So I set 6883 port. Both TCP and UDP managed to open and after this Global Rate Limits started to work! https://i.imgur.com/tKU5lck.png

Hope it helps you. I see no causal relationship in this solution, but it works for a half hour on my PC. Check your ports. I chose Port Forward Network Utilities. And open both TCP and UDP.

Katnjia commented 4 years ago

The issue is still present as of 4.2.1. It's quite the serious issue, as larger torrents with lots of peers will crash your connection. Limiting amount of connections doesn't seem to affect the issue much.

FranciscoPombal commented 4 years ago

The issue is still present as of 4.2.1. It's quite the serious issue, as larger torrents with lots of peers will crash your connection. Limiting amount of connections doesn't seem to affect the issue much.

The part about "will crash you connection" is certainly not qBIttorrent's fault. That's due to shitty network hardware/drivers.

hmnd commented 4 years ago

Issue is still present in latest, 4.2.5. I'm experiencing this with the linuxserver.io Docker image. Any ideas on what could be causing the limits to not work at all?

rado84-github commented 4 years ago

This problem with download and upload speed limits started happening for me too in Arch Linux after kernel update to 5.6.15. In 5.6.14 (a week ago) and lower it was working fine. I've attached my conf file in case you need it.

qBittorrent.conf.txt

Qbittorrent version is 4.2.5.

rado@arch OS: Arch Linux Kernel: x86_64 Linux 5.6.15-arch1-1 Packages: 1098 Shell: bash Resolution: 1920x1080 DE: Cinnamon 4.6.2 WM: Muffin CPU: Intel Core i7-4770 @ 8x 3.9GHz [34.0°C] GPU: GeForce GTX 1050 Ti RAM: 3264MiB / 32037MiB

dezza commented 4 years ago

https://www.reddit.com/r/torrents/comments/6gifi1/why_is_my_speed_graph_on_qbittorrent_a_zigzag/diqp89q/

o0shad0o wrote: It's because there's no way to tell other peers to send you data more slowly. The way a client limits bandwidth is by pulling data out of the IP stack driver at a controlled rate. This only indirectly regulates transmission speed, and with connection latency you wind up with a bunch of data being sent and queued up, and then the transmission is halted until the client catches up.

Ambiwlans commented 3 years ago

Still a thing in 4.3.0.1 64-bit. The function hasn't worked in years, maybe at least disable the button or leave a warning on it?

Having a limit set reduces the speed somewhat. Set to infinite I get around 4MB/s. Set to 100 I get around 1.2MB/s. Set to 1kbs I get 1MB/s.

dezza commented 3 years ago

Same here I need to limit like 1/10th of what I aim for so 1024kbit translates to roughly 7-12MB/s peaks.

Seeker2 commented 3 years ago

@dezza qBitTorrent's speeds are in kibibytes/second. If you set it to 1024, that means about 8 megabits/second bandwidth before counting overheads, which might push it to 10-12 megabits/second as measured in external-to-qBitTorrent networking speed graphs.

dzmat commented 3 years ago

Still a thing in 4.3.0.1 64-bit. The function hasn't worked in years, maybe at least disable the button or leave a warning on it?

Well, if something is not working for somebody, it does not mean that this thing is not working for everybody. Unfortunately, this thing does work for developers (I suppose) and me. If not, we would be to be already debugged it out. The only thing that I can suppose to do is addressed to persons, experiencing this problem: please, build the debug version of QBt+libtorrent and try to figure out the culprit yourself.