JVM crashes when using queueless-thread-pool for web subsystem in EAP 6.1?

Solution Unverified - Updated -

Issue

  • Why there is a JVM crash when using queueless-thread-pool for web subsystem, with native connector set to true?
  • JVM crash when using using queueless-thread-pool.
  • JVM crashed with below message :
21:37:34,700 ERROR [org.apache.coyote.http11] (http-executor-threads - 1) JBWEB003055: Error reading request, ignored.: org.apache.tomcat.jni.Error: Socket operation on non-socket
    at org.apache.tomcat.jni.Socket.setrbb(Native Method) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
    at org.apache.coyote.http11.InternalAprInputBuffer.setSocket(InternalAprInputBuffer.java:189) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
    at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:816) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
    at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:607) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2527) [jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
    at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33) [jboss-threads-2.1.0.Final-redhat-1.jar:2.1.0.Final-redhat-1]
    at org.jboss.threads.QueuelessExecutor$Worker.run(QueuelessExecutor.java:619) [jboss-threads-2.1.0.Final-redhat-1.jar:2.1.0.Final-redhat-1]
    at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]
    at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final-redhat-1.jar:2.1.0.Final-redhat-1]
  • JVM crashes at libtcnative-1.so module, with problematic frame as :
# Problematic frame:
# C  [libtcnative-1.so+0x13cbc]  Java_org_apache_tomcat_jni_Socket_destroy+0xc
  • JVM crashes, when thread queueless-thread-pool tries to timeout(after time period set in keepalive-time).

Environment

  • Red Hat JBoss Enterprise Application Platform
    • 6.1.x

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