Opened 8 years ago
Last modified 8 years ago
#2975 new bug
Don't open connections to web seeds when not downloading
Reported by: | Federico | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | needs verified |
Component: | Unknown | Version: | other (please specify) |
Keywords: | connections webseed | Cc: |
Description
I'm uploading/seeding a few torrents, which are available on the file system and on several web seeds (https://tools.wmflabs.org/dump-torrents/ ). I observe that whenever I restart deluged, or I add new torrents, TCP connections are opened towards the web seeds for a large portion of torrents (all the non-seeding ones? the checking ones? I'm not sure) and stay open for a while. 0 torrents are in "Downloading" state.
Disregarding the total number of torrents and connections (https://meta.wikimedia.org/wiki/Mirroring_Wikimedia_project_XML_dumps/Torrents/deluge/core.conf ), I don't understand why deluged would open a connection to a web seed in the first place when it doesn't need to download anything.
Whenever a local path was specified and the torrent has not been verified yet, the web seeds should be ignored. The web seeds should be checked/contacted only when the torrent is in downloading state.
Attachments (3)
Change History (11)
by , 8 years ago
Attachment: | deluged-tcp.txt.bz2 added |
---|
comment:1 by , 8 years ago
Actually, from the attachments it looks like most/all web seeds are opened by torrents in error state, like:
Name: abwiki-20161220-pages-meta-current.xml.bz2 ID: 46ddb0b1b649a1f42abf5efd3a2f120caf5da66b State: Error Size: 51.9 KiB/1.1 MiB Ratio: 0.000 Seed time: 0 days 00:00:00 Active: 3 days 22:11:53 Tracker status: opentrackr.org: Announce OK Progress: 4.45% [###~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~] ::Files abwiki-20161220-pages-meta-current.xml.bz2 (1.1 MiB) Progress: 3.34% Priority: Normal ::Peers Seed US 207.241.228.100:443 URL seed @ ia801900.us.archive.org (nginx/1.4.6 (Ubuntu)) 0.0 KiB/s 0.0 KiB/s Seed US 208.80.154.11:443 URL seed @ dumps.wikimedia.org 0.0 KiB/s 0.0 KiB/s Seed US 207.241.227.40:443 URL seed @ ia601900.us.archive.org (nginx/1.4.6 (Ubuntu)) 0.0 KiB/s 0.0 KiB/s Seed US 204.9.55.82:80 URL seed @ dumps.wikimedia.your.org (lighttpd) 0.0 KiB/s 0.0 KiB/s Seed SE 130.239.18.173:80 URL seed @ ftp.acc.umu.se 0.0 KiB/s 0.0 KiB/s Seed BR 200.236.31.1:80 URL seed @ wikipedia.c3sl.ufpr.br (Apache) 0.0 KiB/s 0.0 KiB/s
comment:5 by , 8 years ago
I'm trying:
$ sudo apt-get -t sid install libtorrent-rasterbar9 libboost-chrono1.62.0 libboost-random1.62.0 libboost-system1.62.0 libssl1.1 libstdc++6 gcc-6-base libboost-python1.62.0 $ deluged --version deluged: 1.3.10 libtorrent: 1.1.1.0
Ok?
comment:6 by , 8 years ago
That didn't run (fatal errors, segfaults and whatnot) and I don't have time these days to build the exact compatible versions myself. I'm back to:
$ deluged --version deluged: 1.3.10 libtorrent: 0.16.18.0
comment:7 by , 8 years ago
I did say 1.0 not 1.1. If you are on Jessie then use the Trusty repo from Ubuntu PPA https://launchpad.net/~deluge-team/+archive/ubuntu/ppa
comment:8 by , 8 years ago
Ah, thanks. I wish I had known 2 hours ago. :) However I'm on Debian 8 now.
lsof -c deluged | grep TCP