Skip to content
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

high enough tracker errors cause all trackers to fail #1386

Open
rezad1393 opened this issue Jan 21, 2025 · 6 comments
Open

high enough tracker errors cause all trackers to fail #1386

rezad1393 opened this issue Jan 21, 2025 · 6 comments

Comments

@rezad1393
Copy link

I have about 1200 torrent in rtorrent.
about 300 of them are from a tracker that has connection issues.
when I run those torrent and they get timeout error after some short time all of torrents (not just the that specific tracker) timeout.
all of them..

@rezad1393 rezad1393 changed the title big enough tracker errors cause all trackers to fail high enough tracker errors cause all trackers to fail Jan 21, 2025
@kannibalox
Copy link
Contributor

What's probably happening is that the tracker with the connection issues is causing sockets/HTTP calls to queue up, blocking calls that would otherwise succeed quickly. The simplest solution is to just disable the tracker that's causing issues, otherwise you can look into increasing the limits of network.http.max_open.set or network.max_open_sockets.set. See https://github.com/rakshasa/rtorrent/wiki/Performance-Tuning#system-wide-settings for general performance tuning.

@rezad1393
Copy link
Author

this doesnt happen with transmission torrent client (I think)

maybe a interval should be used before trying timeouted trackers (which I think rtorrent has) and remove the buggy http from http queue unitl next interval (which it seems rtorrent doesnt)

just removing a tracker would not be the solution as rotternt is used for many seedoxes that are set up and left to run and this would cause the seeding to stop for all trackers even with one tracker failing.

@rakshasa
Copy link
Owner

Are those udp trackers?

@rezad1393
Copy link
Author

Are those udp trackers?

no.
they are all private http trackers.

@rakshasa
Copy link
Owner

I've started working on making trackers multithreaded, however it's going to take some time. Will have to revisit this issue when that is done.

@rezad1393
Copy link
Author

I've started working on making trackers multithreaded, however it's going to take some time. Will have to revisit this issue when that is done.

thank you.
I think torrent client in general are not really multi-thread optimized.
for example checking file after completion almost make rtorrent die.
or even moving multiple torrents from a folder to another.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants