Deluge 1.3.15 does not respect upload speed limits

General support for problems installing or using Deluge
dacabdi89
New User
New User
Posts: 1
Joined: Wed Feb 08, 2017 11:37 pm
OS or Distro: Ubuntu Linux

Deluge 1.3.15 does not respect upload speed limits

Postby dacabdi89 » Sat Aug 04, 2018 3:57 pm

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.

mhertz
Seeder
Seeder
Posts: 158
Joined: Wed Jan 22, 2014 5:05 am
OS or Distro: Arch Linux

Re: Deluge 1.3.15 does not respect upload speed limits

Postby mhertz » Sat Aug 04, 2018 5:12 pm

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)

Shryp
Super Seeder
Super Seeder
Posts: 459
Joined: Mon Apr 20, 2015 10:20 pm
OS or Distro: Manjaro Linux

Re: Deluge 1.3.15 does not respect upload speed limits

Postby Shryp » Sun Aug 05, 2018 8:33 am

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.

mhertz
Seeder
Seeder
Posts: 158
Joined: Wed Jan 22, 2014 5:05 am
OS or Distro: Arch Linux

Re: Deluge 1.3.15 does not respect upload speed limits

Postby mhertz » Sun Aug 05, 2018 11:39 am

@dacabdi89 - I'm sorry for posting wrong information.

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

shamael
Super Seeder
Super Seeder
Posts: 414
Joined: Sat Oct 08, 2016 9:28 am
OS or Distro: osmc

Re: Deluge 1.3.15 does not respect upload speed limits

Postby shamael » Mon Aug 06, 2018 10:13 am

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

Spadge
Seeder
Seeder
Posts: 107
Joined: Sat Dec 13, 2008 4:17 pm

Re: Deluge 1.3.15 does not respect upload speed limits

Postby Spadge » Sun Aug 12, 2018 12:49 am

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!

mhertz
Seeder
Seeder
Posts: 158
Joined: Wed Jan 22, 2014 5:05 am
OS or Distro: Arch Linux

Re: Deluge 1.3.15 does not respect upload speed limits

Postby mhertz » Sun Aug 12, 2018 11:23 am

Yes, from libtorrent-1.1.9 changelog:

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


Return to “Support”

Who is online

Users browsing this forum: Google [Bot] and 5 guests