P2P distribution gets stuck in the first attempt #7451
Replies: 1 comment
-
if you're using libtorrent 1.2, I would highly recommend using the most recent version. i.e. https://github.com/arvidn/libtorrent/releases/tag/v1.2.19
That looks super shady. That's a reinterpret cast. If you use a boost version that's compatible with the libtorrent version you're using, you shouldn't need to patch up anything like that. Perhaps just updating to libtorrent 1.2.9 would help. What does "systemctl restart peer" do?
You can take a look a this: https://libtorrent.org/troubleshooting.html
When you say the process is "stuck", do you mean that that the process stops entirely? like a deadlock, or do you just mean it stops making progress on the download? |
Beta Was this translation helpful? Give feedback.
-
OS: RH9
libtorrent version: 1.2.0
boost version: 1.75.0
Hi all, we had a working libtorent python binding that works successfully on other Oses (excluding RHEL9) . The versions we use on other Oses i.e excluding RH9 are libtorrent 1.1.5 and boost 1.65.0.
But for RHEL9, I had to upgrade libtorrent (1.15 -> 1.2.0) and boost version from (1.65.0 -> 1.75.0) to get a successfull build/
I had to manually add the following changes in libtorrent files to get a successful build.
I am not sure why I had to do any of these things?
After getting a successful build, the torrent distribution b/w peers is not happening in one-go. Only when I do a
systemctl restart peer
the distribtuion completes and only after the restart I see in the logs that pieces are gettting downloaded.Here are the logs for
libtorrent.log
before I dosystemctl restart peer
the logs get stuck here.I am newbie to libtorrent and I am not versatile on how to read the logs here.
Beta Was this translation helpful? Give feedback.
All reactions