hassio-addons / addon-unifi

UniFi Network Application - Home Assistant Community Add-ons
https://addons.community
MIT License
278 stars 138 forks source link

Addon stops randomly #376

Closed KimCarlsen closed 2 years ago

KimCarlsen commented 2 years ago

The unify addon randomly stops, and doesn't start, even that it has watchdog enabled. i can then manually start it without any problems. All settings are default, (except log_level: debug)

But there are no traces of why it stops in the logs, so how do i troubleshoot? It is the only addon that behaves like this.

Using HA version: 2022.6.8 HA OS: 8.4 Unifi addon version: 2.3.1 But seem with previous versions as well

frenck commented 2 years ago

The unify addon randomly stops i can then manually start it without any problems. But there are no traces of why it stops in the logs

To me, this sounds like out-of-memory issues (causing the OOM killer to take a stab). This should be visible in the OS logs.

and doesn't start, even that it has watchdog enabled.

That is outside of control from the add-on, and should be reported with the Home Assistant Supervisor project.

KimCarlsen commented 2 years ago

thanks. i'll keep an eye on it and gather the logs

Naesstrom commented 2 years ago

I've been having problems lately with my hass install (Pi4/4Gb) getting unresponsive because of completely out of memory. Tonight I saw that the unifi addon was using 25% RAM so shut it down. Thinking it might be related to this issue? Addon 2.3.1 Home Assistant 2022.9.2 Supervisor 2022.08.6 Operating System 8.5 Frontend 20220907.0 - latest image

github-actions[bot] commented 2 years ago

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!