Closed jojolll closed 1 year ago
I have the same issue as yours. Even in idle, just seeding, the CPU is at 20%
The problem is not with linuxserver container, it's with the upstream changes since version 4.4.x when they introduced libtorrent 2.0.x replacing 1.2.x. This issue affects some systems, as it seems also yours and mine and a lot of others as it seems.
What is a bit weird, this exact release should have fixed the abnormal cpu usage, since it defaults back to libtorrent 1.2.x (at least this is what I read on the changelog on the official website). However, it doesn't seem to fix it (for me at least).
Can anyone confirm this release uses libtorrent 1.2.x?
For me, while pulling containers, the latest release which has no impact on my cpu is v4.3.9
lscr.io/linuxserver/qbittorrent:version-14.3.9.99202110311443-7435-01519b5e7ubuntu20.04.1
So for the time being, I will be using that, hopefully the next one will finally solve this annoying cpu usage.
_qBittorrent v4.4.5 was released. NOTE: The default builds for all OSs switched to libtorrent 1.2.x (RC_1_2) from 2.0.x (RC_2_0). Builds for libtorrent 2.0.x are also offered and are tagged with RC_2_0. The switch happened due to user demand and perceived performance issues. If until now you didn't experience any performance issue then go ahead and use the RC_20 builds.
As above, the problem is most likely libtorrent v2.x. In fact it's likely the cause of most of the currently open issues.
qBittorrent have finally changed back to v1.x as default branch, but the LS image is still currently bundling v2.x with 4.4.5 as it's what's in the Alpine repo upstream, so the images after 14.3.9 are still broken unfortunately.
Yeah, no point using this version because it's somehow based on shitty libtorrent 2.x, no idea how/why they build like that for alpine edge repo => https://pkgs.alpinelinux.org/packages?name=qbittorrent&branch=edge&repo=&arch=&maintainer=
I think they should consider swapping to some proper builds like this ones: https://github.com/userdocs/qbittorrent-nox-static
I just tried this version after reading the changelog and ended up here. Hoping for a new version without libtorrent v2.x...
Hoping for a new version without libtorrent v2.x... I wouldn't expect that, you can have look on issues and it looks like maintainer(s) pretty much doesn't interact with any of them. I would rather clone that and change some logic to get userdocs static builds.
I had the same question, I contacted Alpine's maintainer, hopefully they switch back to Libtorrent 1.2 for the next release :)
Edit: they are not experiencing the issue and will not switch back to 1.2. I guess LinuxServer would need to switch to using the nox static repo.
Same issue here.
Same issue, same platform, going back to 4.3.9
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
A libtorrentv1
tag now exists for those of you experiencing issues with v2.
A
libtorrentv1
tag now exists for those of you experiencing issues with v2.
I'd suggest everyone, who had performance issues give the "libtorrent v1" builds a try - it significantly improved web ui responsiveness in my case while downloading huge files at high speed, see issue #175 for more info.
Thanks a lot, that tagged version fixed my issue with 4.4.5 Running in Raspberry Pi 4, Linux version 5.15.76-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022
Expected Behavior
CPU usage 0-3% when IDLE, no active downloads or uploads
Current Behavior
The CPU usage is out of control since the update this morning. We are at about 15% of CPU on my raspberry pi 4, in IDLE (without any download or upload). Before the update, it was bewteen 0 and 1%. No worrying logs. Everything seems normal except this CPU consumption
I reinstalled the software completely (default config), the problem persists, and other users seem to be impacted : https://github.com/alexbelgium/hassio-addons/issues/458
I also tried to use each of the 4 available UIs in the config, no difference on CPU consumption.
Steps to Reproduce
I've just updated, since that my CPU is 15° hotter than usual
Environment
OS: Home Assistant OS CPU architecture: arm64 How docker service was installed: I use alexbelgium addon, based on your image and without any problems in the previous versions
Docker logs
I cannot issue this command, so here is my addon logs :