Closed diamant-x closed 1 week ago
Hi, I experienced the same but only once. I tried reducing the amount of accepted connections from the qBittorrent settings and it seems stable since! Or it was a coincidence, but worth testing
I'm trying to apply you suggestion. I also cleaned up my list. But I think there's something else. I saw my HAOS RAM usage chart creepingly increasing when the torrent addon is running, but the RAM usage reported by the addon is stable, which means it might be using some "core OS" processes for some of its stuff.
Example, whole HA OS RAM:, last 24h: QBit addon reported RAM:
EDIT: Just to document it so that's clear the relationship one to the other. I jsut restarted the addon and new RAM data: HAOS: Addon:
Very interesting, nicely seen ! Alas I'm not sure how to use this info to solve the issue... Any ideas?
Mmh there seems to be a reported memory leak on the core also, not necessarily linked but at least coincidental https://github.com/home-assistant/core/issues/123831
Globally it seems that for each ha memory leak I've seen do far the solution is just to restart the add-on everyday :) https://github.com/coder/code-server/issues/5201
OK it's confirmed to be due to qbittorrent itself it seems : https://github.com/qbittorrent/qBittorrent/issues/21502
OK it's confirmed to be due to qbittorrent itself it seems : qbittorrent/qBittorrent#21502
It does seem to be that in regards to. The memory leak indeed. Nice finding thanks! I might try to roll back to pre v5, although is a pain in the a* to do it because emy backup location contains a lot of files
However I do recall the haos crashes also happened before v5.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I'm trying to apply you suggestion. I also cleaned up my list.
I did this but still occurring. Out of curiosity , in your stable setup how many torrent you have, maybe above +200 starts rising some stability issue in a RPi4 8Gb.
I have 0 torrents ;) I delete them once they reach a certain ratio! Indeed HA doesn't seem to manage well multiple connections...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
Hi,
Everytime I run qBittorrent addon, after some (variable, non precise) time my whole HAOS crashes and self-restarts. I have reduced that to the qBittorrent addon, with not sure reason why. It used to run just fine. I believe my problems started when HAOS upgraded their Python library https://github.com/home-assistant/core/issues/110538#issue-2134045723 which I thought was related to HAOS issue. But lately I've been doing some A/B testing and have re-assessed that the issue is down to qBittorrent (or Sonar, or Radar, which I run at the same time always). My HA full system error log file looks the same as in the original linked thread above.
I understand is not a common issues or this would be flooded of tickets, but would love to understand why, and if maybe the addon is using some old ha-utils or Python versions that makes it crash with latest HAOS versions?
Reproduction steps
Addon Logs
Architecture
aarch64
OS
HAos