I’m having problems with delayed rules execution. Here are the details:
- Platform information:
- Hardware: 2*2,8GHz, 6GB RAM
- OS: Linux Mint 18.3
- Java Runtime Environment: Zulu 8.27
- openHAB version: 2.2 Relase
- Issue of the topic: the execution of rules is delayed sometimes. I cannot find a pattern or any reason in the logs. Sometimes one rules is executed instantly and sometimes not.
- Bindings: exec1,http1,knx1,ntp,serial1
- Persistence: mysql
Logs working (check the execution time):
20:14:26.822 [INFO ] [smarthome.event.ItemCommandEvent] - Item 'Bewegung_EG_Flur' received command ON 20:14:26.823 [INFO ] [smarthome.event.ItemCommandEvent] - Item 'LED_EG_Flur' received command 60
Logs delayed (check the execution time):
15:06:13.515 [INFO ] [smarthome.event.ItemCommandEvent] - Item 'Bewegung_EG_Flur' received command ON 15:06:19.504 [INFO ] [smarthome.event.ItemCommandEvent] - Item 'LED_EG_Flur' received command 60
Additional info: In the last three days I was looking for other topics in this forum and I found a lot of ideas but nothing fixed my issue. At first I thought it was because of errors in the rules because of changes from OH1 to OH2. After double checking everything with Visual Studio Code I have not found any problems. And sometimes the rules are executing instantly and all is done correctly. Then I found a topic about slow rule execution after restarting OH. But even after a rule executed rapidly without a restart the next time it was executed really late. I found a lot of other topics but nothing fixed my issue.
Any ideas how I can get more detailed information of the execution of rules in the karaf console?
Is there a command to get all loaded rules?