gezuppe
(Sebastian)
April 28, 2022, 6:55am
1
Platform information:
Hardware: Synology DS218+
OS: 6.2.4
Java Runtime Environment: ?
openHAB version: 3.2.0
Issue of the topic:
Recently my OH stopped working. It turned out the there where too many open files which stoped more or less all services on the Synology.
Checking with
lsof -p 17417 | wc -l
gives me a fast growing number
most lsof outputs are like.
java 17417 9001 *704u REG 0,53 0 17932 /run/lock/tmpj8Um1P (deleted)
OH log files does not show anything that points to this issue…
Please post configurations (if applicable):
Running the official OH 3.2.0 Docker on a Synology NAS.
Any ideas?
Seb
Too many items to be written to persistence ?
How many files are you allowed to open ( ulimit -n ) ?
wborn
(Wouter Born)
April 28, 2022, 6:41pm
3
Looks like NeuronRobotics/nrjavaserial#111 which is fixed in 3.3.0-SNAPSHOT with:
openhab:main
← wborn:upgrade-nrjavaserial
opened 10:08AM - 07 Apr 22 UTC
Uses an openHAB 5.2.1.OH1 build based on the latest changes in the nrjavaserial … master branch ([7aa21d1](https://github.com/NeuronRobotics/nrjavaserial/tree/7aa21d1dc8cecdc8daad3ebc40273cfb8179e9d2)).
When there is an official release containing those changes we can upgrade to that.
Most importantly this fixes a file descriptor leak when checking lock dir permissions.
It also adds FreeBSD aarch64 (ARM64) support.
Fixes #1842
---
Can you add the JAR/POM in https://github.com/wborn/nrjavaserial/releases/tag/5.2.1.OH1 to the openHAB Maven repository @kaikreuzer?