High CPU & RAM with zero torrents
mikul9 opened this issue · comments
qBittorrent & operating system versions
qbittorrent: 4.6.5
Operating system: DSM 7.2.1-69057 Update 5 (Synology) on Docker (linuxserver)
Qt: 6.6.3
libtorrent-rasterbar: Libtorrent is 2.0.10.0
What is the problem?
Even with no running torrent, qBittorrent sits at 200%+ of CPU and uses 7GB of RAM. Restarting the container brings levels back down to normal, but they slowly rise again over several hours.
Steps to reproduce
- Run qBittorrent
- Add some torrents
- Watch CPU and RAM use rise
- Remove all torrents
- RAM and CPU and nearly unchanged (they go down ~6%)
Additional context
No response
Log(s) & preferences file(s)
Logs are unremarkable except for 4 instances of this:
performance warning: max outstanding piece requests reached.
This is not a qbittorrent issue.
Somehow my qbittorrent conf was changed to allow scripts to run on torrent add and complete which downloaded software, likely a crypto miner called SyGIcPtf. This explains why torrents had to be started for the issue to present itself.
Modifying the conf file resolves the issue. Now the question is: how did the config get edited, but that's my problem, not yours.
Not a qbittorrent issue, but a compromised config allowing malware to run.
This is a known malware attack on the WebUI.
https://www.reddit.com/r/synology/comments/1co3toi/rogue_process_eating_ram/
Related: #20932