High CPU in sun.nio.ch.EPollArrayWrapper.epollWait

Solution Unverified - Updated -

Issue

  • Threads consuming high cpu have the following stack trace:
"A-index-8b" #62 prio=5 os_prio=0 tid=0x00007f8532a2d000 nid=0xdd83 runnable [0x00007f84f49b7000]
   java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method)
        at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269)
        at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:79)
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
        - locked <0x0000000737fc7a88> (a sun.nio.ch.Util$2)
        - locked <0x0000000737fc7a70> (a java.util.Collections$UnmodifiableSet)
        - locked <0x00000007378e2cb8> (a sun.nio.ch.EPollSelectorImpl)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
        at com.abc.MyClass.select(MyClass.java:400)
        at com.abc.MyClass.run(MyClass.java:602)
        at java.lang.Thread.run(Thread.java:745)

Environment

  • OpenJDK 1.8, update 51

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.