[Solved] Slow performance

General support for problems installing or using Deluge
Post Reply
v1pEr
New User
New User
Posts: 6
Joined: Sat Dec 12, 2009 9:08 am

[Solved] Slow performance

Post by v1pEr »

I've been experiencing slow performance with deluge lately but I'm unable to find the source.

I'm running the latest 1.3.1 as daemon on gentoo and the latest 1.3.1 client on my windows 7 machine. The libtorrent version I use is 0.15.5.0.

My connection allows up to 1.5MB/s down which I can confirm with speedtest and other downloads. Deluge however doesn't seem to be able to reach more than 500 KB/s. With the same torrents using uTorrent for example on my windows machine, I get speeds of about 1.4 MB/s.

I've got about 40 torrents in my queue (about 10 leeching, 30 seeding) on 2 different trackers.

A few things I noticed however:
- There is always a warning "No Incoming Connections!" on the bottom of the client
- The active port test used to be okay (until a few moments ago) but is now 0 and when tested the exclamation icon
- on the 2 trackers I get the errorTRACKERNAME: Error: invalid port, I edited the trackers however adding port :80 but to no avail

I have this in my /etc/conf.d/deluged but the log files are not being created after restart:

Code: Select all

DELUGED_USER="deluge"
DELUGEUI_START="true"
DELUGEUI_OPTS="-u web"
DELUGED_OPTS="-L debug -l /var/log/deluge/daemon.log"
Surely I'm doing something wrong? Who can help me identify the performance problem?
Last edited by v1pEr on Tue Feb 01, 2011 6:52 am, edited 1 time in total.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Slow performance

Post by Cas »

Having no incoming connection may well causing slow performance. You need to setup your router or firewall to allow incoming traffic for the ports Deluge uses.
v1pEr
New User
New User
Posts: 6
Joined: Sat Dec 12, 2009 9:08 am

Re: Slow performance

Post by v1pEr »

My firewall is configured to open ports 6500 to 6600 over TCP and UDP.

When I check with

Code: Select all

 lsof -i | grep deluge
or

Code: Select all

netstat -tap | grep LISTEN
, I don't see the ports appearing. Is there another way to check if the ports are really open? I have the feeling the ports are open in the firewall but deluge is not listening on them?

Why is the active port (in the network settings) 0? It used to be 6501
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Slow performance

Post by Cas »

The ports 6500-6600 are not recommended, see this faq question.

When you run the netstat command you should see something like this. (The incoming port here is 49530)
tcp6 0 0 [::]:49530 [::]:* LISTEN 27065/python
I am not entirely clear about your network settings, could you post a screen-shot of the tab please.
v1pEr
New User
New User
Posts: 6
Joined: Sat Dec 12, 2009 9:08 am

Re: Slow performance

Post by v1pEr »

A screenshot of my network connections, just tell me if you want me to reinstall deluge in English.

Image

The netstat output:

Code: Select all

RoSe v1per # netstat -tap | grep LISTEN | grep python
tcp        0      0 *:8112                  *:*                     LISTEN      18595/python2.6
tcp        0      0 *:58846                 *:*                     LISTEN      18586/python2.6
lsof output:

Code: Select all

RoSe v1per # lsof -i | grep deluge | grep LISTEN
deluged   18586    deluge    7u  IPv4 36773446      0t0  TCP *:58846 (LISTEN)
deluge    18595    deluge    3u  IPv4 36773451      0t0  TCP *:8112 (LISTEN)
I also have the invalid port error on 2 trackers, but I get a few downloads none the less. I added port 80 just in case but to no avail

Image

I'll happily supply any extra information I can give you
v1pEr
New User
New User
Posts: 6
Joined: Sat Dec 12, 2009 9:08 am

Re: Slow performance

Post by v1pEr »

Could it be that my performance problem has something to do with this? http://dev.deluge-torrent.org/ticket/1476

I would be happy to supply a log file if someone posts the instructions, those on the FAQ don't seem to work for me
v1pEr
New User
New User
Posts: 6
Joined: Sat Dec 12, 2009 9:08 am

Re: Slow performance

Post by v1pEr »

Just in case that someone would read this with the same problem as me:

First I tried downgrading libtorrent (because of the invalid port errors), but to no avail.

Next thing I did was deleting the .config folder and restarting from scratch (first the settings, then adding torrents). All 3 of my problems are now gone:

- active port is now 6400 instead of 0, although configured all the same
- the "No incoming connections!" in the deluge client is now gone, although configured all the same as before
- The invalid tracker port error is gone, although they're the same torrents on the same trackers

I think it had something to do with the upgrade from 1.3.0 to 1.3.1, but I'm not sure.

Anyway it's all solved (for now :) ) by removing .config folder and starting all over
bogusone

Re: [Solved] Slow performance

Post by bogusone »

I had the same problem with slow downloads and no incoming connections.
I used the solution suggested above and deleted everything in my .config/deluge directory.
:D - All my issues appear healed.

FYI - I tried Deluge on this same system a few years ago, but switched to Transmission.
I was new to the system and remember experimenting with settings.
So I guess it is not a surprise that config might have issues.

Now I'm happy that I switched back.
Lately Transmission & Ubuntu seem to be going thru some type of conflict.
After my last system patches, Transmission is a mess.
I really can't remember why I started using it to begin with - my DSL router routinely complained of it being a session hog.
Post Reply