How to keep transfer from stopping in a local closed network setup #7722
a-s-tarantoga
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi list,
I have been trying to fix this issue for some time, but I don't seem to get any further. Maybe you can help me with my efforts.
My situation is, that I have this tiny local network, where I setup some libtorrent clients to exchange data. This is a truly local network in the sense that it is not connected to any outside tracker or peer. All torrents that I create and add to the network get some subset of the available peers via connect_peer. All peers are constantly available and have no (external) restrictions on sending and receiving data at any time.
The problem is that sometimes when I add a torrent to one of these peers, the connection stalls at some point during transfer, and occasionally stops fully. The data is available but libtorrent decides to not download it or stop the download for apperantly no reason. I tried to debug via alert logging but this did not bring much insight.
I have also tried different combinations of configurations during setup of the session and the torrents after reading the reference, sometimes re-adding the torrent helps but not always. I tried to increase max_failcount and mess with the choking algorithms and settings, but nothing seems to help.
A thing is that I want to have this working reliably in code without any human supervision.
Do you have any suggestions on how to do this correctly? Maybe you have an explanation, what the problem is, so I can find a solution by myself.
Any help is very much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions