NIO EventPoller thread dies from uncaught NPE, leading to unresponsiveness

Solution Verified - Updated -

Issue

  • We use an NIO connector and it became unresponsive. The acceptor thread was refusing connections with errors like the following:
INFO [org.apache.tomcat.util] (http-/0:0:0:0:0:0:0:0:38092-Acceptor) JBWEB003022: Channel processing failed
  • There were limited sockets established, but still in a heap dump, it looks like the NioEndpoint has exhausted connections:
    NioEndpoint.maxConnection = 32768
    NioEndpoint.counter = 32768
    NioEndpoint.connections hold 32768 instances of NioChannel
  • A thread dump also shows the EventPoller thread for this connector is missing

Environment

  • JBoss Enterprise Application Platform (EAP) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.