majestrate / XD

meme bittorrent client
https://xd-torrent.github.io/
MIT License
242 stars 25 forks source link

XD seeds only one torrent at a time #61

Open pkreuzt opened 6 years ago

pkreuzt commented 6 years ago

0.2.2 OS: linux

Architecture: armv7

Despite having configured multiple swarms, XD only seeds same torrent until restart, when another one seems "chosen" and switches to seed that one. Seed speed also decreases over time to zero. Peer connection seems correct, having multiple peers per torrent. Not sure if this is a reporting (both webui and RPC) or a real seeding problem, since traffic over I2PD keeps flowing.

pkreuzt commented 6 years ago

Let me correct: the issue affects webui, which shows only one torrent transferring. RPC shows more than one, but always at 820B/s, 1.60KB/s, 3.20KB/s and so on. Transfer rate is "too regular".

majestrate commented 6 years ago

Can you provide what configuration options you used in the ini file?

Thanks.

On Tue, Jun 05, 2018 at 12:11:58AM -0700, pkreuzt wrote:

Let me correct: the issue affects webui, which shows only one torrent transferring. RPC shows more than one, but always at 820B/s, 1.60KB/s, 3.20KB/s and so on. Transfer rate is "too regular".

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/majestrate/XD/issues/61#issuecomment-394605467

majestrate commented 6 years ago

oh right, the webui shows only the first swarm and not an aggregate.

pkreuzt commented 6 years ago

[storage] rootdir=storage metadata=storage/metadata downloads=storage/downloads completed=storage/seeding workers=10 iop_buffer_size=0

[rpc] bind=blah.blah.blah.blah:1488 host=blah.blah.blah.blah enabled=1

[log] level=info pprof=0

[bittorrent] pex=1 dht=0 swarms=5 tracker-config=trackers.ini max-torrents=5

[gnutella] enabled=0

[i2p] address=127.0.0.1:7656

Also, probably it would be a good idea to show an indicator of total transferred amount, like present in I2PSnark. Useful to track ratio when seeding.

majestrate commented 6 years ago

max-torrents=5

this is probably going to cause problems, the way it's implemented now is rather naive.