Seeding is choking for some reason

Issues and ideas about I2PSnark
Post Reply
anikey
Posts: 77
Joined: 30 Nov 2023 20:08

Seeding is choking for some reason

Post by anikey »

An i2psnark instance (from regular i2p java, ver 2.5.2) is seeding some torrents.
Currently, only 1 torrent is being downloaded from me, and only by one peer (as in: my client is actively uploading 1 torrent to 1 peer). That torrent has some other seeders too.

Yet for some reason the i2psnark, for some (most?) of the time, shows the upload speed to that peer as red, and on hover it says "Choking (We are not allowing the peer to request pieces)". This varies over time. Sometimes the speed is green, and it shows some speed. Sometimes it's red (and with that text) and it seems to not seed at that time.

This leads to low upload speeds, i haven't recently seen more than 15-20 kb/s, and it shows red "0 Bps" often.

Why does that happen? How can i tell i2psnark to keep seeding, to allow the peer to request pieces?

(This is not an issue with upload speed limit in settings, because it is set to way higher)
(On the contrast, qbittorrent with i2pd, seeding on the same torrent, sends at a higher speed than i2psnark)

!!! UPDATE: I have changed the upload limit to a lower value (it was more than 1000, i set it to 900), and the problem seems to have went away.
Keeping this because if someone finds it, it may help.

And it is weird, because the previous limit was set since a long time, but i only remember seeing this problem recently.
User avatar
zzz
Posts: 202
Joined: 31 Mar 2018 13:15

Re: Seeding is choking for some reason

Post by zzz »

I've discovered some serious bugs in snark that I introduced in 2.5.0; details at http://zzz.i2p/topics/3638 . Fixes are not in yet, when they are I'll announce them on that forum.
Post Reply