-
-
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
[neeo] Excessive Thread Leak - HttpClient-*-SelectorManager #15563
Comments
From what I can tell, the HttpRequest function seems to build the client but then never releases it. It should run on close() by AutoClosable but it never seems to actually do it... Line 111 in edaf17b
|
This issue has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/openhab-takes-2mins-to-stop/149375/13 |
I upgraded to the OH4.1 milestone yesterday and I am running into the same issue. I never had an issue before and I have been using the Neeo binding and io service for years. My thread count was always stable, and now suddenly rises like crazy. I have not been able to do much analysis yet, and won't have much time in the coming weeks, but there is definitely something that made this problem appear now. |
This issue has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/outofmemoryerror-after-migration-to-4-1-0-m1/149796/3 |
There is a change in the distribution that is causing this, and not only for the Neeo binding and transport. See https://community.openhab.org/t/outofmemoryerror-after-migration-to-4-1-0-m1/149796/8. |
This issue has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/oh4-runs-out-of-memory/148699/10 |
This issue has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/sony-devices-binding-for-oh3/124388/136 |
Moved from openhab/openhab-core#3794
What I believe to be the transport part of neeo seems to be creating threads such as:
And not closing them. This is eventually causing OH to run out of available space for threads. My last crash showed over 4000 similar threads. When neeo transport is not installed, I have 1 open HttpClient thread. Within a minute of adding it (after waiting a considerable time) I had over 500.
The text was updated successfully, but these errors were encountered: