qBittorrent-nox CPU pinned at 100%; disappears immediately when qui is stopped #1526
Unanswered
gwenelmat
asked this question in
Issue Triage
Replies: 1 comment
|
Seeing this as well with qui v1.23.0 and qBittorrent v5.2.3 with 5k+ torrents. Checking |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Description
After running for a few minutes to ~30 minutes, qbittorrent-nox pins one core at 100% indefinitely. WebUI becomes unresponsive, trackers stop updating, only fix is restarting qBittorrent.
I used pidstat -t to identify a single anonymous thread responsible for the 100%. Attaching strace to it captured zero syscalls, so it's a pure userspace loop.
The interesting part: when I stop qui AND restart qBittorrent, it stays stable. As soon as qui is running again, the issue comes back within minutes to half an hour. qBittorrent alone stays fine.
My suspicion is the /sync/maindata polling. There's a related older qBittorrent issue (#10999) where that endpoint was found to be significantly slower and more CPU-intensive than /torrents/info, particularly with large collections. My situation may not be directly comparable (different scale, different hardware), but qui polling every 30s could still be enough to trigger something. There's also a separate Docker-specific qBittorrent bug (#23384) with libtorrent 2.0.11 showing similar symptoms, though the strong correlation with qui makes me think it's not just that.
Nothing unusual in Qbitorrent's logs.
Steps to reproduce
Environment
Relevant logs
No response
Checklist
All reactions