-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gce] Loss of connection and growing CPU usage when disabling / enabling a Thing #17940
Comments
I observe 2 problems issues raised in this issue:
|
Regarding the connection lost issue, I've found these kind of messages in the logs :
I hope this can help |
Hello @Jetblack31 , I have prepared an updated version to ensure resources are properly freed. Could you please try it and observe how it behaves over time : https://drive.google.com/file/d/1tl9zOYQe9XuEOGZINy6B_iUgUGZsLFzt/view?usp=drive_link . |
Hello @clinique, Thank you very much for the binding. However, it doesn't work. What I did :
In the logs, I obtain this message :
See you! Jetblack |
Hello @Jetblack31 , could you please try this new one : https://drive.google.com/file/d/1Q1DKBQLQzWru8zQBqrcsrDOmw8Sii8Cy/view?usp=drive_link I installed it on my prod OH4.3 and works. |
Hello @clinique, I installed the binding, and it works. I will now monitor the CPU usage and keep you posted. Jetblack |
Hi @clinique, I made some tests with the new binding. So the issue doesn't seem to be fixed unfortunately. Below the logs when the Thing is disabled/enabled
|
Thanks for your feed-back. I have to get back to the drawing table to figure where this CPU drain comes from... |
An update. But when I disable the IPX Thing, CPU usage increases by 100% and continue to increase with further disable/enable. I tried to disable/enable other Things depending on other bindings (onewire, http...) : no issues with them. Jetblack |
Hi @Jetblack31 , here's a new one to test please : https://drive.google.com/file/d/1m_wpfjoUMfaqM6m4UkNKSxEbufyf3lRv/view?usp=drive_link |
Do you use the network binding? |
@clinique : Thank you for the new binding. I've tested it : same behaviour, CPU usage grows each time the Thing is disabled. (I restarted OH and cleaned the cache : no change). @lsiepel : Indeed, I use the network binding for many devices, including the GCE IPX800. Do you think that there is a link with the issue ? Below the logs when the thing is disabled/enabled. Jetblack EDIT : I tried to uninstall the network binding : no effect, same behavior
|
I wonder if you experience the same cpu load / performance issue when the network binding is uninstalled and you restart openHAB. |
Hi @lsiepel I uninstalled the network binding and restarted OH. Jetblack |
@Jetblack31 : I don't have the solution right now but I found a way to reproduce the problem. Stay tuned and happy new year. |
Hello,
a bug that appears since my last upgrade of OH (currently running 4.3, I guess the issue appeared with 4.2).
Behavior
When disabling / enabling a IPX800 Thing using OH UI, the CPU load increases.
Each time I do it, CPU load increases more (see picture).
The only solution I found to reduce the CPU load is to restart openHAB.
Why do I disable / enable my IPX Thing ?
Actually, since I upgraded from OH2 to OH4 months ago, sometimes IPX800 stops working (connection issue). My solution is to disable/enable once a day the IPX800 Thing to be sure to keep it working.
This connection issue didn't exist with OH2.
Steps to Reproduce
Environment
The text was updated successfully, but these errors were encountered: