Wildfly 27.0.1 high CPU load on default i/o thread

1,257 views
Skip to first unread message

Michael

unread,
Oct 19, 2023, 2:07:25 AM10/19/23
to WildFly
Hello,

long story short, I believe I'm running into this issue (but I can't read the full article):


The process running WF is stuck consuming 100% CPU load and there is one i/o thread that seems to be causing it. However, I'm struggling to reproduce the problem. I just see it happening randomly from time to time.

Any ideas? Thanks very much!
Michael

"default I/O-31" #180 prio=5 os_prio=0 cpu=91667480.39ms elapsed=704637.94s tid=0x0000557a650b1a50 nid=0x3fc12 runnable  [0x00007f023971b000]
   java.lang.Thread.State: RUNNABLE
at sun.security.ssl.SSLEngineImpl.checkParams(java...@17.0.8.1/SSLEngineImpl.java:457)
at sun.security.ssl.SSLEngineImpl.wrap(java...@17.0.8.1/SSLEngineImpl.java:142)
at sun.security.ssl.SSLEngineImpl.wrap(java...@17.0.8.1/SSLEngineImpl.java:123)
at javax.net.ssl.SSLEngine.wrap(java...@17.0.8.1/SSLEngine.java:524)
at io.undertow.server.protocol.http.ALPNLimitingSSLEngine.wrap(ALPNLimitingSSLEngine.java:64)
at io.undertow.protocols.ssl.SslConduit.wrapAndFlip(SslConduit.java:1009)
at io.undertow.protocols.ssl.SslConduit.doWrap(SslConduit.java:940)
- locked <0x000000040cdbd020> (a io.undertow.protocols.ssl.SslConduit)
at io.undertow.protocols.ssl.SslConduit.doHandshake(SslConduit.java:673)
at io.undertow.protocols.ssl.SslConduit$5$1.run(SslConduit.java:1153)
- locked <0x000000040cdbd020> (a io.undertow.protocols.ssl.SslConduit)
at org.xnio.nio.WorkerThread.safeRun(WorkerThread.java:612)
at org.xnio.nio.WorkerThread.run(WorkerThread.java:479)

Adrian Bogdan Hanchevici

unread,
Oct 19, 2023, 2:51:22 AM10/19/23
to WildFly
Hello,

What JDK are you using?


Bogdan

Michael

unread,
Oct 19, 2023, 3:29:51 AM10/19/23
to WildFly
17.0.8.1 on Linux

John Saccoccio

unread,
Oct 19, 2023, 12:22:37 PM10/19/23
to WildFly
No patch, only paid support for  JBoss EAP:  See  https://access.redhat.com/solutions/6997164
Resolution
Apply the latest cumulative patch for JBoss EAP 7.4. The fix for this issue has been incorporated in JBoss EAP 7.4.10+ (CP10) Apply the latest cumulative patch for RH-SSO 7.6. The fix for this issue has been incorporated in RH-SSO 7.6.4+ by RHSA-2023:3892 Downgrade Java to 1.8.0_351 / 11.0.17 / 17.0.5 or earlier as a workaround until updating to the versions that include the fix.

Michael

unread,
Oct 19, 2023, 2:48:03 PM10/19/23
to WildFly
Do you have any idea how to reproduce the issue? I'd like to test if my system is really affected.
Apparently the issue is fixed in Undertow 2.3.5. Upgrading Wildfly to 30 which is shipped with 2.3.10 is an option.

Adrian Bogdan Hanchevici

unread,
Oct 20, 2023, 9:50:48 AM10/20/23
to WildFly
Do you know if there is a patch available for Wildfly 26?

Bogdan

Michael

unread,
Oct 20, 2023, 9:53:59 AM10/20/23
to WildFly
You could just upgrade the undertow-core module. That's what I have done.
Reply all
Reply to author
Forward
0 new messages