4 Replies Latest reply on Jul 11, 2011 12:43 PM by Peter Chandler

    Could not accept connection : java.net.SocketException

    Peter Chandler Master

      I have the following in my activeMQ 5.4  log. Any ideas?

       

      2011-07-05 19:21:34,620 | ERROR | Could not accept connection : java.net.SocketException: Too many open files | org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server: tcp://0.0.0.0:61616
      2011-07-05 19:21:34,620 | ERROR | Could not accept connection : java.net.SocketException: Too many open files | org.apache.activemq.broker.TransportConnector | ActiveMQ Transport Server: tcp://0.0.0.0:61616
      2011-07-05 19:21:34,620 | WARN  | EXCEPTION  | org.eclipse.jetty.util.log | qtp1358669058-57 - Acceptor0 SelectChannelConnector@0.0.0.0:8161
      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 org.eclipse.jetty.server.nio.SelectChannelConnector$1.acceptChannel(SelectChannelConnector.java:75)
              at org.eclipse.jetty.io.nio.SelectorManager$SelectSet.doSelect(SelectorManager.java:651)
              at org.eclipse.jetty.io.nio.SelectorManager.doSelect(SelectorManager.java:180)
              at org.eclipse.jetty.server.nio.SelectChannelConnector.accept(SelectChannelConnector.java:135)
              at org.eclipse.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:776)
              at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
              at java.lang.Thread.run(Thread.java:619)