Page 1 of 1

Deluge 1.3.15 does not respect upload speed limits

Posted: Sat Aug 04, 2018 3:57 pm
by dacabdi89
Deluge is not respecting my upload speed settings. I have it set to 100 KiB/s and it keeps uploading ~2 MiB/s. I'm running Deluge 1.3.15 as a systemd service unit on Xubuntu 16.04. The configuration file

Code: Select all

/var/lib/deluge/.config/deluge/core.conf
is properly grabbing the value on set. However, the upload is not what I set it to be.

Re: Deluge 1.3.15 does not respect upload speed limits

Posted: Sat Aug 04, 2018 5:12 pm
by mhertz
This has been reported before in older times, but the bugs should be fixed in recent versions of deluge/libtorrent - one reported the issue fixed by simply reinstalling:
In the end, a sudo apt-get purge deluged deluge-console deluge-web && sudo apt-get autoremove and a sudo apt-get install deluged deluge-console deluge-web resolved this really strage problem!
(If still persisting, please disable all used 3'rd party plugins temporarily and test that it's not in there the problem lies, before going further with this)

Re: Deluge 1.3.15 does not respect upload speed limits

Posted: Sun Aug 05, 2018 8:33 am
by Shryp
This is a "bug/feature" in libtorrent specifically related to uTP connections. It was introduced in 1.1.5 and they just fixed it in version 1.1.9 which was released 5 days ago. It will take some time to trickle down to the different distro's repos. If you feel like building the source yourself here is their github:
https://github.com/arvidn/libtorrent/releases

Here is some more reading on the issue on the libtorrent bug tracker:
https://github.com/arvidn/libtorrent/issues/2857

According to them, you can "fix" this issue by installing the LtConfig plugin and enabling the option: rate_limit_utp.

Re: Deluge 1.3.15 does not respect upload speed limits

Posted: Sun Aug 05, 2018 11:39 am
by mhertz
@dacabdi89 - I'm sorry for posting wrong information.

@Shryp - Sorry too, and thank's for the info :)

Re: Deluge 1.3.15 does not respect upload speed limits

Posted: Mon Aug 06, 2018 10:13 am
by shamael
Hi guys,

to share my own "solution" about this: I'm using the PPA Deluge repository for the installion to stick with the couple Deluge 1.3.15/Libtorrent 1.0.11.
Of course any system update will upgrade the libtorrent version so simply freeze it :

#if not done yet add the PPA repo, Zesty with the example here (adapt for your version)
https://launchpad.net/~deluge-team/+archive/ubuntu/ppa
Add the source below:
deb http://ppa.launchpad.net/deluge-team/ppa/ubuntu zesty main
deb-src http://ppa.launchpad.net/deluge-team/ppa/ubuntu zesty main

#remove current updated libtorrent version and install the lasst one from the PPA (1.0.11)
sudo systemctl stop deluged deluge-web
sudo apt-get remove deluged libtorrent-rasterbar9
sudo apt-get install -t zesty deluged

#freeze the package so it will no more be updated (until unfreeze of course)
sudo apt-mark hold libtorrent-rasterbar8 python-libtorrent

Re: Deluge 1.3.15 does not respect upload speed limits

Posted: Sun Aug 12, 2018 12:49 am
by Spadge
I've just noticed speed limits are now being obeyed again.

Client: 2.0.0.dev7187
Server: 2.0.0.dev7187

libtorrent: 1.1.9.0

Code: Select all

spadge@Moya:~$ dpkg -l | grep libtorrent
ii  libtorrent-rasterbar9                 1.1.9~dev8823+149c24e+201808030031~ubuntu18.04.1 armhf        libtorrent C++ BitTorrent Library (rasterbar)
ii  python-libtorrent                     1.1.9~dev8823+149c24e+201808030031~ubuntu18.04.1 armhf        libtorrent Python Bindings (rasterbar)
Thanks!

Re: Deluge 1.3.15 does not respect upload speed limits

Posted: Sun Aug 12, 2018 11:23 am
by mhertz
Yes, from libtorrent-1.1.9 changelog:

* uTP connections are no longer exempt from rate limits by default