ryansch / docker-unifi-rpi

Unifi Controller for Raspberry Pi 3+ and x86
https://hub.docker.com/r/ryansch/unifi-rpi/
347 stars 42 forks source link

Controler Offline nach x Stunden #78

Closed AdrianFajt closed 3 years ago

AdrianFajt commented 3 years ago

Hallo Zusammen, ich habe das Problem, dass wenn ich den Controller als Docker compose container auf meinem Raspberry starte, dass ich nach x Stunden (genauer kann ich es leider nicht eingrenzen) die Web Oberfläche nicht mehr erreiche und in der iOS App der Controller als Offline angezeigt wird. Ich nutze den "latest" tag im docker-compose, andere auf dem Raspberry laufende Applikationen wie ioBroker sind normal erreichbar. IoBroker läuft ebenfalls als docker compose container. Das OS auf dem Raspi ist das aktuellste RaspberryOS es handelt sich um ein Raspberry 3b mit 2GB RAM. Ich bin über jeden Hinweis dankbar. Wenn noch mehr Infos benötigt werden stelle ich diese gerne zur Verfügung. Grüße Adrian

ryansch commented 3 years ago

@AdrianFajt You might want to try playing around with the JAVA_OPTS environment variable to limit the JVM's memory. Try JAVA_OPTS: -Xmx512M to start.

AdrianFajt commented 3 years ago

That solved the issue for me. No crashes ever since. Thanks for the quick support.