OH3 on Synology in Docker. too many open files

  • 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 ) ?

Looks like NeuronRobotics/nrjavaserial#111 which is fixed in 3.3.0-SNAPSHOT with: