java.io.IOException: Too many open files in JBoss EAP 7.0

Solution Unverified - Updated -

Issue

Occasionally, the following java.io.IOException: Too many open files occurs:

2018-07-04 20:45:50,318 WARN  [org.jboss.modcluster] (UndertowEventHandlerAdapter - 1) 
2018-07-04 20:46:50,452 ERROR [org.xnio.nio.tcp.server] (default Accept) Exception accepting request, closing server channel TCP server (NIO) <7e6f914c>: java.io.IOException: Too many open files
    at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method)
    at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422)
    at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250)
    at org.xnio.nio.QueuedNioTcpServer.handleReady(QueuedNioTcpServer.java:476)
    at org.xnio.nio.QueuedNioTcpServerHandle.handleReady(QueuedNioTcpServerHandle.java:38)
    at org.xnio.nio.WorkerThread.run(WorkerThread.java:571)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content