New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracker announce stuck #4479
Comments
I think some logs of at least |
Well after all I'm still having the same problem and managed to grab some logs. Looks like errors are occuring when all my torrents are restarted at the same time after the night (they are paused by the scheduler plugin). Interrestingly, errors comme first and then some success (we are talking of 1600+ errors for 1700+ torrents) In contrary to what it looks like, Bad file descriptor and Invalid argument errors are mixed up. I don't have As for the torrents that won't be reannounced, there's nothing in the log, I can just try to reannounce them by individually pausing/resuming them. Yet, if the announce is failing more than 1 time, the torrent won't be reannounced without any log...
|
my suspicion is that libtorrent ends up hammering the tracker causing some of the connections to fail. I think the best solution to this is #4334 |
@arvidn I noticed that most trackers just close the connection after one successful announce. It doesn’t expect multiple announces per connection. I’m bit skeptical if pipelining the requests by keeping the connection open will work across most trackers. |
Also you have to keep in mind that the tracker could be timing out due to not being able to process that many announces at once. So pipelining them to a single connection might not serve the purpose of evening out the load that much. However it could be handy in terms of TLS sessions. |
I don't know what the good solution can be, I'm willing to give a try at any patch :) What I do know is that being in a state where we are never re-trying to reanounce torrent status to the tracker isn't good actualy. A tracker might be down for any amount of time and up again later. I think this can especially be true with public trackers that can be seen down temporarly because of some DNS failure or for maintenance or even if my connection goes down for a bit, if our announce is failing during this time, it can safely be retried again later and it might even work again. I agree that this announces should be low priority tho. |
@skuizy what does the retry-counter say when the tracker is in a state to never be retried? normally it's counting down to the next announce. I don't know what causes deluge to say "infinite". There was a patch briefly where a tracker failing with NXDOMAIN (host not found) would not be retried for 6 hours. That was reverted though. When you say you're on |
the invalid argument and bad filedescriptor errors seem obvious issues, I think it would make sense to address those first and see what happens. |
That's the retry-counter... So I suspect LT is sending deluge null, out of boundaries or not even sending anything... I didn't find anything usefull in deluge code regarding next_announce...
That's right, I'm using this launchpad repo that builds it daily.
Well... Not that obvious to me... Is something on my side causing the issue ? |
Running the debug console on the deluge webpage, I get the folowing response for the status tab of a stuck torrent :
This should be better than my previous assumptions. |
I wonder if the |
I would think #4620 fixes this issue |
libtorrent version (or branch): RC_1_2
platform/architecture armhf
compiler and compiler version: launchpad daily build
I have 1700+ torrents seeding, so not all anounces to trackers are working when I'm restarting deluge, some are failing with a timeout message, othres with a bad file descriptor. Some torrents are re-anounced to the tracker successully after the 3rd or 4th attempt but others aren't even re-announced : the infinite symbol is shown next the next anounce field in deluge.
I can't even force a new anounce for these torrents, it simply does nothing when I click on update tracker.
I don't think this is tracker related as I have successful and failing torrents for the same tracker.
The text was updated successfully, but these errors were encountered: