java.io.IOException: Too many open files at > sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at > sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145) > at > com.sun.grizzly.TCPSelectorHandler.acceptWithoutRegistration(TCPSelectorHandler.java:745) > at > com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler.acceptWithoutRegistration(MonitorableSelectorHandler.java:99) > at > com.sun.grizzly.http.SelectorThreadHandler.onAcceptInterest(SelectorThreadHandler.java:99) > at > com.sun.grizzly.SelectorHandlerRunner.handleSelectedKey(SelectorHandlerRunner.java:301) > at > com.sun.grizzly.SelectorHandlerRunner.handleSelectedKeys(SelectorHandlerRunner.java:263) > at > com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:200) >

Oracle Community | jsl123 | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Too many open files issue

    Oracle Community | 4 years ago | jsl123
    java.io.IOException: Too many open files at > sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at > sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145) > at > com.sun.grizzly.TCPSelectorHandler.acceptWithoutRegistration(TCPSelectorHandler.java:745) > at > com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler.acceptWithoutRegistration(MonitorableSelectorHandler.java:99) > at > com.sun.grizzly.http.SelectorThreadHandler.onAcceptInterest(SelectorThreadHandler.java:99) > at > com.sun.grizzly.SelectorHandlerRunner.handleSelectedKey(SelectorHandlerRunner.java:301) > at > com.sun.grizzly.SelectorHandlerRunner.handleSelectedKeys(SelectorHandlerRunner.java:263) > at > com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:200) >

    Root Cause Analysis

    1. java.io.IOException

      Too many open files at > sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) at > sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:145) > at > com.sun.grizzly.TCPSelectorHandler.acceptWithoutRegistration(TCPSelectorHandler.java:745) > at > com.sun.enterprise.v3.services.impl.monitor.MonitorableSelectorHandler.acceptWithoutRegistration(MonitorableSelectorHandler.java:99) > at > com.sun.grizzly.http.SelectorThreadHandler.onAcceptInterest(SelectorThreadHandler.java:99) > at > com.sun.grizzly.SelectorHandlerRunner.handleSelectedKey(SelectorHandlerRunner.java:301) > at > com.sun.grizzly.SelectorHandlerRunner.handleSelectedKeys(SelectorHandlerRunner.java:263) > at > com.sun.grizzly.SelectorHandlerRunner.doSelect(SelectorHandlerRunner.java:200) >

      at com.sun.grizzly.SelectorHandlerRunner.run()
    2. Grizzly WS
      SelectorHandlerRunner.run
      1. com.sun.grizzly.SelectorHandlerRunner.run(SelectorHandlerRunner.java:132)
      1 frame