openhab-core icon indicating copy to clipboard operation
openhab-core copied to clipboard

Instable system with heavy file based config when migrating to OH 4

Open MatzeMuc86 opened this issue 2 years ago • 2 comments

  • Upgrading my OH 3.4 system to OH 4.0 on Raspberry Pi 4 with 8 GB RAM via openhabian config
  • Keeping all file based configs (almost no UI based config)
  • One CPU was fully on load, other 3 not used
  • OH system was not able to boot fully and started to reboot. Only when reducing amount of files (things, items, rules) OH system could even start successfully
  • OH 4 clean fresh setup via openhabian enabled OH system to boot with all files, 4 CPUS used in parallel
  • First action of rule takes up to 30 seconds even though trigger (e.g. item change) is visible on log output; next action of same rule reacts immediately then (=> feels like rule is not fully loaded?)
  • If any changes on the files are made (e.g. deleting comments) OH starts to slow down until it restarts OH service itself
  • When checking something in UI, system is extremly slow (much slower then on OH 3.4), e.g. showing rules, non semantic items etc.

Your Environment

  • OH 4.0.4 on Raspberry Pi 4 with 8 GB RAM, no other service / app on same system
  • Setup via openhabian
  • 24 thing files with 255 things
  • 45 items files with 1809 items
  • 57 rule files with 305 rules
  • InfluxDB2 used on other physical machine for persistance

Happy to share logs, TRACE just generated hundred thousand of log files => please let me know how to proceed best / efficiently.

MatzeMuc86 avatar Nov 11 '23 11:11 MatzeMuc86

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/oh-3-4-to-4-0-on-rp4-massive-performance-issues/150629/7

openhab-bot avatar Nov 11 '23 11:11 openhab-bot

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/oh-3-4-to-4-0-on-rp4-massive-performance-issues/150629/19

openhab-bot avatar Dec 23 '23 12:12 openhab-bot