High CPU in Apache HTTP core after JDK update

Solution Unverified - Updated -

Issue

  • After a JDK update, we are seeing high CPU in threads like below:
"HTTP-Listener I/O dispatcher-2" #288 prio=5 os_prio=0 tid=0x0000562f1d6e4000 nid=0x763a runnable [0x00007f86978c9000]
   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:93)
    at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
    - locked <0x0000000089ec45d0> (a sun.nio.ch.Util$3)
    - locked <0x0000000089ec45c0> (a java.util.Collections$UnmodifiableSet)
    - locked <0x0000000089ec4498> (a sun.nio.ch.EPollSelectorImpl)
    at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
    at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:256)
    at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
    at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:586)
    at java.lang.Thread.run(Thread.java:750)

Environment

  • Red Hat Enterprise Linux (RHEL)
  • OpenJDK

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