- Platform information:
- Hardware: Intel i3, 8GB DDR4, 64GB M.2 SSD
- OS: Ubuntu Server 18.04 LTS
- Java Runtime Environment: Zulu 8
- openHAB version: 2.4.0-1
- Issue of the topic: Within a minute after startup, Openhab’s Java command rockets to over 300% cpu utilization and gradually settles to 400%, which is the maximum displayed. The CPU usage falls back to normal levels for a moment when a command to an item is sent. By running
threads --list
in the console, we can see this thread with huge amounts of CPU time:
14 │ Start Level: Equinox Container: bb8506c3-3f4a-48c5-9c20-2ae318d60fd8 │ WAITING │ 7238 │ 6980
There isn’t much happening in the system. Only the Serial, Epson projector and TCP/UDP bindings are used. There are a few dozen items and rules in total. Judging by the name of the thread taking all the CPU time, this seems to be a lower level issue anyway.
Any good ideas on what could cause this behavior?