Closed antoine-morvan closed 1 month ago
I dag a bit more into the rtorrent updates from stickz. This commit https://github.com/stickz/rtorrent/commit/8448b61ec3c1f7ffdebd4f2f5b5dd0b21ffad785#diff-ee3c54847fe9ce700a487ca77c6d35a3ef86393cebea800d9213a1ba3e511d62R137 -- included in stickz/rtorrent 4.1 (https://github.com/stickz/rtorrent/releases/tag/v4.1-0.9.8-0.13.8 -- adds support for popcnt instruction from SSE 4.2 ; which brings performance improvements. However, binaries built on a SSE4 capable system will not be able to run on a non SSE4 capable system. Unfortunately, my old OVH server does not have SSE4 support (Intel Atom N2800), and seems to fall into this pitfall...
Not sure how this should be addressed : either disables this SSE4 instruction from the build flags (with the implied performance drop), or explicitly drop support for systems that do not have SSE4 , or provide several images , or advise people to docker build for these unsupported systems ... #discuss :D
There are frameworks for building binaries with automatic dispatch depending of the CPU support (I am thinking of Google Highway https://google.github.io/highway/en/master/index.html), but that would require rtorrent updates, most likely deep restructuring.
I built the image on my server, and it is still throwing the same error : I doubt recommending building the image, nor trying to disable popcnt using build flags makes sense actually.
I also built the image from latest commit (020c5bc0b48ed91025c527108a32705aa2f4eb14), just changing the rtorrent version to older hash, testing 4.0 and 4.1
I conclude this is not an issue with the image, but with rtorrent. I am opening an issue over there; I let current issue open as either this will need a rtorrent update, or a documentation update for dropping old CPUs support ^^
@crazy-max requesting new release tagged with rtorrent stickz v6.1
and ruTorrent v4.3.7
. Resolved two software crashes, restored compatibility for very old CPUs and resolved a regression with automatic updating of RSS feeds.
I discovered this project today. I ran the example. I found this issue.
Same setup as @antoine-morvan - only happens on my server hosted at OVH.
I don't think this is resolved yet ? @crazy-max
( Sorry for the edits, I made some mistakes ! )
@eastabrooka Can you try to pull docker edge? This fix was sent there.
Ahah Yep ! We both got there at the same time
Support guidelines
I've found a bug and checked that ...
Description
Since a recent update of the image, I get some errors from rutorrent. I cleared my previous sessions and started with a clean, minimal setup (see docker compose config below). I then tested with a torrent from ubuntu (server image from https://ubuntu.com/download/alternative-downloads ).
The error I get within ruTorrent when adding a torrent is like this (instanteous after adding) :
That seems to indicate the XMLRPC link is down and rtorrent is not responding. When checking the logs from the container, I can indeed observe some error messages (keeps printing the message, just post 2 iterations here) :
I can reproduce with versions 4.3.5-5.1 and 4.3.6-6.0, and cannot reproduce with version 4.3.5-4.0 (did not test prior versions).
Expected behaviour
Should not produce errors, as it was working fine with previous versions.
Actual behaviour
Produces errors.
Steps to reproduce
Docker info
Docker Compose config
Logs
Additional info
I could not reproduce on my desktop machine : this only happens on my server hosted at OVH. I even tried with a debian VM with similar version, kernel, docker version, etc., but still could not reproduce.