mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
qbittorrent search bug search process always gets aborted when results approach 10K or more #16640
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#16640
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 @aciduser on GitHub (Feb 26, 2025).
qBittorrent & operating system versions
qBittorrent: all previous versions affected up to latest 5.0.4
OS: Windows 11 Home
What is the problem?
This is not new bug, but this happened always before. I was waiting until this gets fixed, but with every qBT update the issue persists, so I decided to submit a bug issue.
When search for torrents results approach 10K results (could be slightly less or slightly more depending on torrent type) the search operation always gets aborted instead of reaching green state which means complete.
This means many search results get truncated and not listed in results.
This most likely is related to a fixed memory buffer that is allocated for search results.
There are no configuration options to tweak any settings for Search functionality except search plugins, which is strange.
People need to be able find not limited to 10K search results, but 50k and more if their system can handle.
Steps to reproduce
Additional context
Log(s) & preferences file(s)
qbittorrent.log
@xavier2k6 commented on GitHub (Mar 6, 2025):
@aciduser Are all plugins up to date? (official/unofficial)
@aciduser commented on GitHub (Mar 11, 2025):
Yes, of course. Just updated them a week ago.
This happens for queries which return near 10k results or more.
I never had over 10k results in green (completed) state.
I tried with all enabled plugins or several enabled plugins 3-5.
I have a lot of RAM memory, but its possible some kind of limited buffer in search functionality. If I type search query as for example "music" or "song", etc, it always gets red in the end and shows as "terminated".
@aciduser commented on GitHub (Mar 13, 2025):
If I type search query more specific and results supposed to be not exceeding 10k for music torrents and 7-8k results for movie torrents, then my search queries result in green status and show as Completed.
The problem with terminating search results is that sometimes search query can't be more specific, because for example I need to find all works related to performer's name or part of movie name because torrent names are slightly different and this produces a lot of output. When this happens, search query unfortunately gets terminated when approaching search buffer limits regardless of how much RAM is available on PC.
The only workaround possible is to do separate searches per single tracker at a time.
I will do some more tests if this problem happens also when searching with only one enabled plugin and will report results here.
@glassez commented on GitHub (Apr 9, 2025):
@Chocobo1, have you something to comment about it?
@xavier2k6 commented on GitHub (Oct 11, 2025):
@aciduser Can you test latest
masterdevelopment build & provide logs?