Too many open files

  • Platform information:
    • Hardware: Pi4
    • OS: Latest OpenHABian
    • Java Runtime Environment: openjdk version “11.0.10” 2021-01-19 LTS
    • openHAB version: 3.0.1
  • Issue of the topic: After running for some days, the Openhab Web UI stops responding. The log file throws may errors like below. Rules keep running, and the terminal is still responsive. A restart makes everything work again.

2021-03-15 11:46:59.850 [WARN ] [lipse.jetty.server.AbstractConnector] - Too many open files
at Method) ~[?:?]
at ~[?:?]
at ~[?:?]
at org.eclipse.jetty.server.ServerConnector.accept( ~[bundleFile:9.4.20.v20190813]
at org.eclipse.jetty.server.AbstractConnector$ [bundleFile:9.4.20.v20190813]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob( [bundleFile:9.4.20.v20190813]
at org.eclipse.jetty.util.thread.QueuedThreadPool$ [bundleFile:9.4.20.v20190813]
at [?:?]