1 Reply Latest reply on May 20, 2016 1:09 AM by Vinay BS

    How to kill waiting threads?

    stephan972 Newbie

      I have a bunch of threads (140 in total) that are waiting on my JBoss Server.

      They all share a stacktrace similar to this :

       

       

          Thread: http-10.117.202.29-8080-140 : priority:5, demon:true, threadId:3113, threadState:WAITING

            waiting on <0x4f87b9d7> (a org.apache.tomcat.util.net.JIoEndpoint$Worker)

            java.lang.Object.wait(Native Method)

            java.lang.Object.wait(Object.java:485)

            org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:416)

            org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:442)

       

       

      All those threads are spawned to process a API REST request.

        • 1. Re: How to kill waiting threads?
          Vinay BS Newbie

          Hi Stephan,

           

          We are getting the same issue and we are running JBoss 5.1.0 on RHEL 6.7.

           

          Please let me know if you were able to resolve this issue. I tried with using Executor in server.xml under $JBOSS_HOME/deploy/jbossweb.ser, but it has no effect.

           

          Any help will be greatly appreciates.

           

          Thank you.