Smanar / Domoticz-deCONZ

deCONZ plugin for Domoticz (Zigbee application)
GNU General Public License v3.0
36 stars 27 forks source link

Log flooded #123

Closed Element2 closed 2 years ago

Element2 commented 2 years ago

Vanilla Ubuntu headless server version 20.04.3 LTS After upgrading Domoticz from Beta 13949 to Beta 14081 the Domoticz log is flooded with the lines below. deCONZ still works in Domoticz, but high cpu. When going back to 13949 the log is normal again.. (Zgateway is my name for deCONZ-bridge)

2022-01-18 00:57:31.950 (Zgateway) Releasing lock for 'Zgateway' 2022-01-18 00:57:32.000 (Zgateway) Acquiring lock for 'Zgateway' 2022-01-18 00:57:32.000 (Zgateway) Releasing lock for 'Zgateway' 2022-01-18 00:57:32.050 (Zgateway) Acquiring lock for 'Zgateway' 2022-01-18 00:57:32.050 (Zgateway) Releasing lock for 'Zgateway' 2022-01-18 00:57:32.100 (Zgateway) Acquiring lock for 'Zgateway' 2022-01-18 00:57:32.100 (Zgateway) Releasing lock for 'Zgateway' 2022-01-18 00:57:32.151 (Zgateway) Acquiring lock for 'Zgateway' 2022-01-18 00:57:32.151 (Zgateway) Releasing lock for 'Zgateway' 2022-01-18 00:57:32.201 (Zgateway) Acquiring lock for 'Zgateway' 2022-01-18 00:57:32.201 (Zgateway) Releasing lock for 'Zgateway' 2022-01-18 00:57:32.251 (Zgateway) Acquiring lock for 'Zgateway' 2022-01-18 00:57:32.251 (Zgateway) Releasing lock for 'Zgateway' 2022-01-18 00:57:32.301 (Zgateway) Acquiring lock for 'Zgateway' 2022-01-18 00:57:32.301 (Zgateway) Releasing lock for 'Zgateway' 2022-01-18 00:57:32.351 (Zgateway) Acquiring lock for 'Zgateway' 2022-01-18 00:57:32.351 (Zgateway) Releasing lock for 'Zgateway' 2022-01-18 00:57:32.402 (Zgateway) Acquiring lock for 'Zgateway' 2022-01-18 00:57:32.402 (Zgateway) Releasing lock for 'Zgateway' 2022-01-18 00:57:32.452 (Zgateway) Acquiring lock for 'Zgateway' 2022-01-18 00:57:32.452 (Zgateway) Releasing lock for 'Zgateway' 2022-01-18 00:57:32.502 (Zgateway) Acquiring lock for 'Zgateway' 2022-01-18 00:57:32.502 (Zgateway) Releasing lock for 'Zgateway'

Smanar commented 2 years ago

I will make a try because I don't see this message on the python plugin, I realy have no clue where it s from.

pipiche38 commented 2 years ago

https://github.com/domoticz/domoticz/blob/24e7b76a0bb76f471117691a5328724516932695/hardware/plugins/Plugins.cpp#L110

Smanar commented 2 years ago

Ha nice, thx, so it s probably a new issue caused by the new python stuff. No problem on my side, but have just tried on a window machine, I m searching more information.

Smanar commented 2 years ago

Can you make a try with the version 14092 ? It work on my side, under Raspbian (just an error message about request lib, solved with a reboot)

Element2 commented 2 years ago

Did a manual ./updatebeta of Domoticz. New version now 14.093 After that a reboot of the Ubuntu server. Result is the same, Domoticz log flooded with above messages.

Smanar commented 2 years ago

Ok, so I will open an issue on their github, I have no answer on the forum, I will probably need more information later.

Element2 commented 2 years ago

ok

Element2 commented 2 years ago

I feel silly now. The problem was because between the two Domoticz versions the deCONZ-bridge plugin was somehow installed twice. I disabled the second one and the log is now back to normal in version 14.093. Mea Culpa.

Smanar commented 2 years ago

Lol, ok I will close the issue on domoticz github