My remote cabin OH 5 server is down, and i had to spin up a backup OH4 server at home, now i am taking a note of what happened and asking on why OH5 locks up after a month. So what is the solution?
- Platform information:
- Hardware: n150 / 8g / 240g SP ssd
- OS: Pepermint 12, debian 12 based
- Java Runtime Environment: Probablly 21.x? Installed via openhabian on August 27th, 2025
- openHAB version: 5.0.1
- Issue of the topic: The server runs fine for about 3 weeks to a month with normal cpu load about 0.8, then suddenly it boggs donw by openhab consumming loads of CPU, cpu load like 68, and RAM is normal about 40% when and if i was even able to SSH in, cause of such high load.
- Please post configurations (if applicable):
- Items - about 400, i have mqtt boud items only, and mosquitto server
- Sitemap - 1, i do have sitemap it seems to work fine no errors
- Rules - about 50 clasic Rules DSL, some use rrd4j to gain stats, some control devices and some ingest strings
- Services openhab cloud, jsonpath, rtl433
- If logs where generated please post these here using code fences:
- I may fetch logs when i get access to the machine, it is located in remote cabin and it freaking aint forkin right now it’s silent as dead and we have some snow in the way.
OH5 install
So i installed openhab 5.0.1 on August 27th, 2025, before that i had the same config running on OH 4.1 for at least a year. Upon migrating i fixed some errors and left it running until it decided to start acting up after a month, i restart, seems fine like new, after 3 weeks again no access hot PC to the touch.
I seen OH 3 and OH4 crach on high RAM usage but now OH5 seems CPU overload related, upon some type of internal error. I did look at loogs in autmn but it didn’t seem obvoius as that like rule would cause it or whatnot.
Anyway i don’t know that 5.0 beast yet but it seems it has some ghost inside like others post that it wont terminate some scripts when they hang. I supose that it is missing some type of watchdog, as some say it won’t start after restarting in some x situation.
My OH4 Experience
I do like openhab, and i am used to it running all the time as i have 3 more systems running OH4.
The only reason i thaught OH5 is fine to install back then is that i just let openhabian install wat was recomended.
Now i am running a backup server at home on OH4 on a chincy zotac box and at least i have VPN access to my pi4 mqtt server i dropped in before winter.
I did suspect RTL433 for drama, but it aint as it seemed to not consume CPU like openhab did. Now i only miss that data from wireless sensors that are offline cause of the remote server is down.
Temporary OH4 remote server
I see that spare backup server is the only thing to depend on. Also looking at keeping seperate MQTT and RTL433 +VPN server apart form OH from now on.
I really plan to just rollback to OH4 and sit on it cause its a bit more reliable untill i can see OH5 on a stage setup that it runs fine.
Verdict
OH5 locking, It sure can be my confing related, but who has time thinkering on remote cabin, just becase an OH5 upgrade brings in new squirel that eats at my system when it decides.
It needs some type of watchdog.
Cheers Matej