Tag Archives: SocketException

Apache ActiveMQ – How to resolve java.io.IOException: Too many open files exception?


Have worked on ActiveMQ for quite a while, and there’s one annoying exception – java.io.IOException: Too many open files – which we see time to time. [localhost:61613] ERROR TransportConnector – Could not accept connection : Too many open files [or@0.0.0.0:8161] WARN  log – EXCEPTION 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 […]