Upload speed progressively decreasing (Ubuntu 14.04)

General support for problems installing or using Deluge
Post Reply
ZreTg
New User
New User
Posts: 7
Joined: Tue Oct 07, 2014 5:36 pm

Upload speed progressively decreasing (Ubuntu 14.04)

Post by ZreTg »

Hello,

I am using Deluge on an Ubuntu 14.04 server with a substantial bandwith (up to 300 Mbps in upload). I recently switched from Ubuntu 12.04 to Ubuntu 14.04, and at first left the standard version shipped with the distro. I noticed the issue described below after the upgrade, so I set up the PPA. Now the versions used are:

Code: Select all

deluged: 1.3.9
libtorrent: 0.16.17.0
The issue is that the upload speed on seeding torrents progressively decreases with time (on a timescale of a few minutes). Here is an example of what I observe:

1) Initial upload speed: 3.1 Mio/s. Individual speeds:
Image

2) After 2 minutes, upload speed: 1.4 Mio/s. Individual speeds:
Image

3) After 30 seconds, upload speed: 779.3 Kio/s. Individual speeds:
Image

4) Deluge is restarted, 30 seconds after restart, upload speed: 5.1 Mio/s. Individual speeds:
Image

If you look in details in the individual speeds, you see that some uploads have the exact same speed. In the 3 first images: 296 Kio/s, 126.9 Kio/s and 90.7 Kio/s. This is already a weird behavior, since the available bandwith is far above the total upload speed, I don't see any reason for this to happen. The number of 'leechers' on the file is about 20-30, so way too low to overload my connection. This happens even if only one torrent is managed by Deluge.
What is even more problematic is that the global upload speed decreases progressively within a few minutes. As soon as Deluge is restarted, the upload speed promptly reaches a high speed again, and then decreases progressively after some time.

This problem did not happen with Ubuntu 12.04 (no PPA installed), and is systematic with Ubuntu 14.04. I tried the standard version shipped, and then upgraded with the PPA: same problem. I also tried with libtorrent 1.0.1 (provided in another Deluge PPA): even worse! In the latter case, the total upload speed barely reaches 100 Kio/s.

I am using the same configuration between Deluge 12.04 and 14.04, and by same I mean I kept the folder ~/.config/deluge unchanged. Here is a sample of my configuration:
- Max connections = 2000
- Max upload slots = 100
- Max upload speed = -1
No limit is set by torrent.

So far, the only workaround I have is a crontab which kills and restart deluged every 30 minutes. Not ideal...
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Upload speed progressively decreasing (Ubuntu 14.04)

Post by Cas »

See this topic for hints: http://forum.deluge-torrent.org/viewtop ... =7&t=48311

Also if any torrents are moving the location upon completion that will adversely affect download speed.
ZreTg
New User
New User
Posts: 7
Joined: Tue Oct 07, 2014 5:36 pm

Re: Upload speed progressively decreasing (Ubuntu 14.04)

Post by ZreTg »

Thank you for your reply, I will dig into that.
Post Reply