3 Replies Latest reply on Oct 4, 2016 1:59 AM by srvanukuri

    Jboss Threads Hanging With Stack Trace

    grassbl8d

      Hi,

       

      I am encountering this issue in my Jboss server version 5.1.

      Apache Web Server is used to load balance among my instances..

      I am getting  a lot of this. Do you have any idea what could be causing this ?

       

      "http-49173-43" daemon prio=10 tid=0x00007f71a8048000 nid=0x4594 runnable [0x00007f709a7e6000]

         java.lang.Thread.State: RUNNABLE

        at java.net.SocketInputStream.socketRead0(Native Method)

        at java.net.SocketInputStream.read(SocketInputStream.java:129)

        at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:729)

        at org.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:366)

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

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

        at java.lang.Thread.run(Thread.java:662)

       

      "http-49173-30" daemon prio=10 tid=0x00007f71a8030800 nid=0xdfe8 runnable [0x00007f709b5f4000]

         java.lang.Thread.State: RUNNABLE

        at java.net.SocketInputStream.socketRead0(Native Method)

        at java.net.SocketInputStream.read(SocketInputStream.java:129)

        at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:729)

        at org.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:366)

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:790)

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)

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

        at java.lang.Thread.run(Thread.java:662)

        • 1. Re: Jboss Threads Hanging With Stack Trace
          grubi

          I have the exact same problem but with the AS 7.1.3

           

          A lot of Threads have this stacktrace

          "http-/0.0.0.0:8080-39" - Thread t@583

             java.lang.Thread.State: RUNNABLE

              at java.net.SocketInputStream.socketRead0(Native Method)

              at java.net.SocketInputStream.read(Unknown Source)

              at java.net.SocketInputStream.read(Unknown Source)

              at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:731)

              at org.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:368)

              at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:838)

              at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679)

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

              at java.lang.Thread.run(Unknown Source)

           

             Locked ownable synchronizers:

              - None

          and the Java process has a constant load of 30% on a 4 CPU machine.

           

          AS is running on:

          • JRE 7u51 64 Server-VM
          • Windows Server 2008 R2 (SP1)
          • 2GB Heap, 512MB Perm (Total RAM 6GB, 12GB Swap)
          • JavaOpts: -Xrs -XX:+TieredCompilation -XX:+UseCompressedOops -XX:-UseSplitVerifier -Xverify:none

           

          I have no idea how I could debug and find the cause of this problem. Do you have any ideas? Thanks.

          • 2. Re: Jboss Threads Hanging With Stack Trace
            alberto.matos

            I was having the same problem.

            Downgrade for java 7u45 and your problem will be solved.

            • 3. Re: Jboss Threads Hanging With Stack Trace
              srvanukuri

              Hello Site Gr,

               

              Did you find a fix to the solution. We are experiencing similar issue. I see 90% of threads on the same state

              Our env: java 7u51, and jboss 7.1.1

               

              ava.lang.Thread.State: RUNNABLE

                  at java.net.SocketInputStream.socketRead0(Native Method)

                  at java.net.SocketInputStream.read(Unknown Source)

                  at java.net.SocketInputStream.read(Unknown Source)

                  at org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:731)

                  at org.apache.coyote.http11.InternalInputBuffer.parseRequestLine(InternalInputBuffer.java:368)

                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:838)

                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:679)

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

                  at java.lang.Thread.run(Unknown Source)

               

                 Locked ownable synchronizers:

                  - None

               

              Thanks