Hi Everyone,
Have a request for another addition to openhab 5.0
This time, it is about documentation.
What about to add a dedicated entry in the documentation about “Performance, Stability & Issue”.
It can be easy in openhab to have a unstable environment because of misconfiguration of your openhab. I experience this one more time this week because of bad retention policy on persistence layer that made my openhab unstable because of high memory usage and very slow start time. After digging a little inside my instance, I find that I have many influxdb measure with other 1 million entrie that take several hundrer of ms to load, sometime even more then 1s !
Of course, if your search in community post, you generally find good article of how to solve most of the worst case. But you have to know what searching !
The idea would be to have direct pointer to the most usefull entries like:
-
How to configure your java instance correctly with explation of most common parameters.
-
How to use jmap / MAT to take a heap dump, and possibily do a first analysis.
-
How to take thread dump, possibly looking to anormal thread count and cpu usage.
-
How to use openhab console for most common task (already covered in administration guide).
-
How to properly configure persistance layer to prevent excessive cpu and memory usage.
-
How to prevent excessive CPU usage in rule engine.
-
How to fill an issue if something goes wrong : https://community.openhab.org/t/how-to-file-an-issue/.
-
Tips and tricks about what is “standard” memory / cpu usage / openhab start time with minimal addon, and when you worry about your installation and start to fix it if you not in the nails.
-
And other things like that …
Perhaps we can open a separate threads where people will tell about their experience, what can possibly goes wrong, and how they fix it.
And from this thread, somes will time by time pick the most interesting subject, and add entry to the documentation.
What do you thing about this ?
Laurent.