-
-
Notifications
You must be signed in to change notification settings - Fork 431
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
OH3.2 shutdown after SocketException #2666
Comments
Looks like your OS is running out of disk space, exceeding the max open files limit or mounted the file system as read only due to disk errors. Maybe you can find the perpetrator using the |
i have now analyzed the memory, deleted or deactivated unnecessary rules and bindings. unfortunately, the error is still there. the only thing that was noticeable was that openhab has a lot of the following entries in lsof: |
There is a known bug in the serial communications library used by openHAB which can cause many of these open lock files, see #1842 and NeuronRobotics/nrjavaserial#111. |
ok, i have come one step further: What I did: my script was: import os
import time
item_path = '/etc/openhab/items'
tmp_path = '/etc/openhab/items/tmp'
os.mkdir(tmp_path)
for file in os.listdir(item_path):
if file.endswith(".items"):
os.rename(os.path.join(item_path, file), os.path.join(tmp_path, file))
time.sleep(1)
for file in os.listdir(tmp_path):
if file.endswith(".items"):
os.rename(os.path.join(tmp_path, file), os.path.join(item_path, file))
os.rmdir(tmp_path) but now all txt items are displayed wrong in the symantic model again. can someone please check how we can fix this issue #2117 or #2106? |
i rejoiced too soon, i just received the error again ... what can i do now? |
i have multiple mqtt jsonpath-transformation failures form my shutter because i have subscribed another topic in my thing configuration. could that cause the issue?
|
How about disabling some add-ons or rules to find the perpetrator? |
ok, i have disabled every rules and things but the error was still there. |
ok, now i have found the failure (thx @wborn) : is there already a fixed nrjavaserial jar file existing, that i can import to openhab? |
There is no official release containing the latest fixes but I made a JAR based on the latest code which you can use by using the following command on the Console:
After that you probably need to restart openHAB. |
Thanks for your patched binary! Not it works! |
Let's close this as it duplicates #1842. |
hi!
i have the problem that OH runs only a few hours until a "SocketException" error is raised in the log. After that I can't access the UI or use OH in any other way....`
i have upgraded to OH3.2 10 days ago
the following is the log with the first error appearing:
The text was updated successfully, but these errors were encountered: