I am running a Raspberry Pi 4 with OpenHAB 3.1 for quite a while now. Have lots of Shelly devices connected to it which are mostly used via Homekit and Alexa gateway. However, for 10 days now, after approx 72 hours, the gateways for Homekit and Alexa are not found anymore. It turns out that I also cannot reach the Openhab page via web browser anymore either.
As soon as I have the device rebooted via Terminal (Mac), everything works as expected again.
Unfortunately I am kind of a newbie on the raspberry, so not sure how I could read log files to understand and troubleshoot the issue.
I had a similar problem. Then I found there was a problem with the Gardena addon, which seems to have a memory leak under circumstances. So after a few days running, RAM was full and the OOM killer of the kernel started killing processes, which caused very strange behaviour.
So, did you check the syslog for error messages?
Many thanks Wolfgang! This is the first time where I am able to open the log files, much appreciated.
Had a look in it and see a massive amount of ERROR messages due to a removed Zigbee USB stick. Indeed I think I have removed this stick more than a week ago - maybe those error messages were flooding the system? Have deleted the binding now and will restart the system and monitor again.