qbittorrent / qBittorrent

qBittorrent BitTorrent client

Home Page:https://www.qbittorrent.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. Run qBittorrent
  2. Add some torrents
  3. Watch CPU and RAM use rise
  4. Remove all torrents
  5. 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.