mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
100% CPU use with many torrents announcing to a tracker with an expired certificate #12508
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#12508
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ivan on GitHub (Oct 24, 2021).
qBittorrent & operating system versions
qBittorrent: 4.3.8 x64
Operating system: NixOS 21.11-pre, NixOS 21.05
Qt: 5.15.2
libtorrent-rasterbar: 2.0.3, 2.0.4, or
github.com/arvidn/libtorrent@69cb589800Specifically, I confirmed this issue and saw the same behavior with:
github.com/arvidn/libtorrent@69cb589800What is the problem?
qBittorrent/libtorrent seems to use 100% CPU (one core) when it has many torrents announcing to a tracker with an expired HTTPS certificate.
There isn't really any visible indication or logging that indicates the problem, I just lucked into figuring it out.
Steps to reproduce
straceshowing one of the qbittorrent threads spinning fast onepoll_wait(15, [], 128, 0) = 0Additional context
with 'Validate HTTP tracker certificates':
without 'Validate HTTP tracker certificates':
Log(s) & preferences file(s)
No response