Deluge beginner with issues

General support for problems installing or using Deluge
bengal918
New User
New User
Posts: 3
Joined: Sun Jan 07, 2018 11:34 am
OS or Distro: FreeBSD 11

Deluge beginner with issues

Postby bengal918 » Sun Jan 07, 2018 12:10 pm

Hello all,

Just started using Deluge and I'm having some issues that I was hoping to clarify.

This whole adventure started when I've decided to move my torrents from my Windows desktop using uTorrent to my FreeNAS server so I can have them running 24/7. My current setup is based on FreeNAS, Deluge installed in a FreeBSD jail as a headless service using the webUI. I have tested transmission before switching to Deluge because the bandwidth limits in Transmission failed to work but I'm having the same issue with Deluge.

My problems are related to the global bandwidth limits which do not seem to work at all. The ISP link is a cable connection of 220Mbps (22000KiB/s) down and 17Mbps (17000KiB/s) up tested with speedtest.net.

The issue is that regardless of the limits I've set to the download speed, Deluge seems to max out to the ISP speed which makes any browsing impossible, even streaming services like Netflix are impacted, video looks upscaled from 480p with high loading times when starting.

I have went through the http://dev.deluge-torrent.org/wiki/User ... thTweaking guide but the limits are still ignored. I have no way of limiting torrent traffic so that my desktop browsing remains decent. With uTorrent on my desktop I could set limits and everything worked acceptable (some delays in browsing existed) with >20 seeding torrents.

Now I have 8 torrents out of which 3 are downloading and browsing is impossible. See the below screenshot.
limits.PNG
limits.PNG (23.08 KiB) Viewed 407 times


I see that protocol bandwidth takes up half of my total upload speed even with only one torrent downloading remaining which runs at my full ISP speed.

Here are my settings:
limits2.PNG
limits2.PNG (75.77 KiB) Viewed 407 times

limits3.PNG
limits3.PNG (119.26 KiB) Viewed 407 times


Is there a way to have a limit that works? I can't mess with the ISP router since it's locked down and periodically they reset settings, I have port forward rules that get reset for no reason.

I'm no FreeBSD expert but as far as I know it's pretty hard to limit traffic like this with a firewall.

Any help is appreciated, thanks!

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

Re: Deluge beginner with issues

Postby shamael » Mon Jan 08, 2018 10:33 am

Hi,

I use the limit for up/download without issue for a long time. Have you checked you Deluge and libtorrent version?
Maybe something belonging to a past issue

bengal918
New User
New User
Posts: 3
Joined: Sun Jan 07, 2018 11:34 am
OS or Distro: FreeBSD 11

Re: Deluge beginner with issues

Postby bengal918 » Wed Jan 10, 2018 12:33 am

Here are all the packages installed in the jail via pkg command:

Code: Select all

root@deluge:/ # pkg info
apr-1.5.2.1.5.4_2              Apache Portability Library
boost-libs-1.65.1_1            Free portable C++ libraries (without Boost.Python)
boost-python-libs-1.65.1       Framework for interfacing Python 2 and C++
ca_root_nss-3.30.2             Root certificate bundle from the Mozilla Project
curl-7.54.0                    Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
cvsps-2.1_2                    Create patchset information from CVS
db5-5.3.28_6                   Oracle Berkeley DB, revision 5.3
deluge-cli-1.3.15_2            CLI part of bittorrent client using Python and libtorrent-rasterbar
expat-2.2.0_1                  XML 1.0 parser written in C
gdbm-1.12                      GNU database manager
gettext-runtime-0.19.8.1_1     GNU gettext runtime libraries and programs
git-2.13.0                     Distributed source code management tool
htop-2.0.2                     Better top(1) - interactive process viewer
icu-60.2_1,1                   International Components for Unicode (from IBM)
indexinfo-0.2.6                Utility to regenerate the GNU info page index
libffi-3.2.1                   Foreign Function Interface
libiconv-1.14_11               Character set conversion library
libnghttp2-1.22.0              HTTP/2.0 C Library
libtorrent-rasterbar-1.1.4_3   C++ library implementing a BitTorrent client
lsof-4.90.q,8                  Lists information about open files (similar to fstat(1))
p5-Authen-SASL-2.16_1          Perl5 module for SASL authentication
p5-Digest-HMAC-1.03_1          Perl5 interface to HMAC Message-Digest Algorithms
p5-Error-0.17024               Error/exception handling in object-oriented programming style
p5-GSSAPI-0.28_1               Perl extension providing access to the GSSAPIv2 library
pcre-8.40                      Perl Compatible Regular Expressions library
perl5-5.24.1_1                 Practical Extraction and Report Language
pkg-1.10.3_1                   Package manager
py27-Automat-0.6.0             Finite-state machines in Python
py27-Babel-2.5.1               Collection of tools for internationalizing Python applications
py27-MarkupSafe-1.0            Implements XML/HTML/XHTML Markup safe string for Python
py27-asn1crypto-0.22.0         ASN.1 library with a focus on performance and a pythonic API
py27-attrs-17.3.0              Python attributes without boilerplate
py27-beaker-1.9.0              Session and Caching library with WSGI Middleware
py27-cffi-1.11.2               Foreign Function Interface for Python calling C code
py27-characteristic-14.3.0     Python attributes without boilerplate
py27-chardet-3.0.4             Universal encoding detector for Python 2 and 3
py27-constantly-15.1.0         Provides symbolic constant support to Python projects
py27-cryptography-2.0.3_1      Cryptographic recipes and primitives for Python developers
py27-enum34-1.1.6              Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7
py27-funcsigs-1.0.2            Python function signatures from PEP362
py27-hyperlink-17.3.1          Featureful, correct URL for Python
py27-idna-2.5                  Internationalized Domain Names in Applications (IDNA)
py27-incremental-17.5.0        Library that versions your Python projects
py27-ipaddress-1.0.19          Port of Python 3.3+ ipaddress module to 2.7
py27-libtorrent-rasterbar-1.1.4_3 Python bindings for libtorrent-rasterbar
py27-mako-1.0.7_1              Super-fast templating language in Python
py27-openssl-17.3.0            Python interface to the OpenSSL library
py27-pyasn1-0.3.7              ASN.1 toolkit for Python
py27-pyasn1-modules-0.1.5      Collection of ASN.1 data structures for py-pyasn1
py27-pycparser-2.10            C parser in Python
py27-pytz-2017.3,1             World Timezone Definitions for Python
py27-service_identity-17.0.0   Service identity verification for pyOpenSSL
py27-setuptools-38.2.5         Python packages installer
py27-six-1.11.0                Python 2 and 3 compatibility utilities
py27-twisted-17.9.0            Asynchronous networking framework written in Python
py27-xdg-0.25_1                Python library to access freedesktop.org standards
py27-zope.interface-4.1.3      Interfaces for Python
python27-2.7.13_3              Interpreted object-oriented programming language
readline-6.3.8_1               Library for editing command lines as they are typed
serf-1.3.9_1                   Serf HTTP client library
sqlite3-3.18.0                 SQL database engine in a C library
subversion-1.9.5               Version control system


It's installed in a FreeBSD jail:

FreeBSD deluge 11.1-STABLE FreeBSD 11.1-STABLE #0 r321665+d4625dcee3e(freenas/11.1-stable): Wed Dec 13 16:33:42 UTC 2017 root@gauntlet:/freenas-11-releng/freenas/_BE/objs/freenas-11-releng/freenas/_BE/os/sys/FreeNAS.amd64 amd64

Further checks reveal that the download speed limit is ignored if the limit is twice the upload even if when I'm not seeding as shown in the picture.

So setting a download limit of no more than 2400KiB/s works, Anything higher and it starts downloading at full ISP speed.

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

Re: Deluge beginner with issues

Postby shamael » Wed Jan 10, 2018 9:18 am

What output deluged -v ? This way w can confirm the binding with the libtorrent 1.1.4.

The current package bing Deluge 1.3.15 to libtorrent 1.0.11, version above will be tested with Deluge 2.0 so far I know.
Try to remove it and install libtorrent 1.0.11 of you have some time to test/confirm the root cause.

bengal918
New User
New User
Posts: 3
Joined: Sun Jan 07, 2018 11:34 am
OS or Distro: FreeBSD 11

Re: Deluge beginner with issues

Postby bengal918 » Wed Jan 10, 2018 10:54 pm

root@deluge:/ # deluged -v
deluged: 1.3.15
libtorrent: 1.1.4.0
root@deluge:/ # which deluged
/usr/local/bin/deluged
root@deluge:/ #

I can't really mess with libtorrent's version since it's installed from packages,


Return to “Support”

Who is online

Users browsing this forum: No registered users and 2 guests