truecharts / public

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.15k stars 618 forks source link

qBittorrent - Extreme ram usage #4041

Closed LukeG20 closed 2 years ago

LukeG20 commented 2 years ago

App Name

qBittorrent

SCALE Version

22.02.4

App Version

4.4.5_11.0.39

Application Events

no recent events

Application Logs

There aren't really any logs to share, the only odd thing is that it's spamming:

2022-10-09T13:12:50.361551359Z (N) 2022-10-09T14:12:50 - WebAPI login success. IP: ::ffff:172.16.1.217

The only other thing that's odd is ram usage didn't seem to be reported correctly when I was trying to identify the cause with the command "htop".

Application Configuration

I'm not using the standard PVC volume instead I have two host paths set up, one for configs and another for the downloads to save to.

The only changes from default are the mounted volumes mentioned above, ingress turned on and I have it using OpenVPN. I guess I could do some testing to see if it still happens with these settings as default.

Describe the bug

qBittorrent seems to be using an excessive amount of ram when downloading, close to 10gb. It seems to be tied to the size of the file I'm downloading and is released when the download is finished and the file removed.

Not sure if this is an issue with my config, truecharts or the application itself.

To Reproduce

  1. install qbittorrent
  2. download a large file
  3. watch ram usage steadily increase and drop again when removed

Expected Behavior

Wouldnt be expecting a torrent client to be using gigs of ram.

Screenshots

Not currently got anything large downloading but its still higher usage than I would expect

image

Additional Context

thinking I may give transmission a try but it doesn't seem to have built-in VPN options

I've read and agree with the following

xstar97 commented 2 years ago
  1. Please create a support ticket in our discord instead, if directed to create a report here, please ignore this.
  2. we generally don't recommend changing the app configuration from pvc(simple). You can still add hostpath(simple) for your download dataset.

Notes: Nearly all the charts have the add on section where you can add a vpn like wireguard...or openVPN to the chart.

Go to apps > installed apps > click an app > edit > addons near the bottom > enable a vpn option.

Most of us use mullvav.net, $5 a month and nearly 99% anom.

They offer wireguard(better vpn option) and openvpn configs. Join us on discord for more details and faster response ;)

stavros-k commented 2 years ago

I really doubt that it consumes ~10Gb RAM, as we limit all apps by default to 8Gi RAM, which is like 8.5Gb.

Maybe it's ZFS Cache?! There are also lots of reports in high RAM usage in qBittorrent repo.

But either way, there isn't anything that I can think of we can do about it here.

LukeG20 commented 2 years ago

Thanks for the responses. I did post something similar on the qbittorrent forum but didn't get much help on there so thought it was worth a try on here just in case.

@Xstar97 you're right I must be blind, when I originally checked I completely missed it.

@stavros-k it's very strange, the Truenas dashboard reports different overall ram usage than "htop" and goes back to normal once a download has finished and been removed. All the ram usage was categorised as "services" on the dashboard rather than ZFS cache.

To anyone with similar issues, Transmission seems to be the way to go. It's using a standard amount of ram and no increases are reported when downloading large files.

truecharts-admin commented 1 year ago

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists