Profile Image
Madhusudhanan Radhakrishnan

Application getting slow down intermittently

Thread count is quite high and we see the more waiting threads with same stack trace. could not locate why the thread is waiting and what is causing the thread to wait. 


Report URL - https://fastthread.io/my-thread-report.jsp?p=c2hhcmVkLzIwMjMvMDUvNS9qYXZhY29yZS4yMDIzMDUwNS4xMzA0NTMuMjc0NTk5OTIuMDAwMi50eHQtLTIyLTU2LTUxOztqYXZhY29yZS4yMDIzMDUwNS4xMzEwMzIuMjc0NTk5OTIuMDAwNC50eHQtLTIyLTU2LTUx

    Please Sign In or to post your comment or answer

    Profile Image

    Ankita

    Hi Madhu,

     

    1) 'Jetty Thread Pool-250-acceptor-3@9c534b6b-ServerConnector@c0e09736{SSL,[ssl, http/1.1]}{0.0.0.0:58414}' thread is stuck on accept0() method in sun.nio.ch.ServerSocketChannelImpl file. Before getting stuck, this thread obtained 1 lock (java/lang/Object lock) and never released it. Due to that 3 threads are BLOCKED. If threads are BLOCKED for a prolonged period, your application can become unresponsive. Here is the stacktrace of the thread.

    at sun/nio/ch/ServerSocketChannelImpl.accept0(Native Method)
    at sun/nio/ch/ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:478(Compiled Code))
    at sun/nio/ch/ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:287(Compiled Code))
    at org/eclipse/jetty/server/ServerConnector.accept(ServerConnector.java:382(Compiled Code))
    at org/eclipse/jetty/server/AbstractConnector$Acceptor.run(AbstractConnector.java:593)
    at org/eclipse/jetty/util/thread/QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    at org/eclipse/jetty/util/thread/QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    at java/lang/Thread.run(Thread.java:825)

     

    2) 'Jetty Thread Pool-226-acceptor-0@9671a376-ServerConnector@179a556c{SSL,[ssl, http/1.1]}{0.0.0.0:58413}' thread is stuck on accept0() method in sun.nio.ch.ServerSocketChannelImpl file. Before getting stuck, this thread obtained 1 lock (java/lang/Object lock) and never released it. Due to that 3 threads are BLOCKED. Here is the stacktrace of the thread.

     

    at sun/nio/ch/ServerSocketChannelImpl.accept0(Native Method)
    at sun/nio/ch/ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:478(Compiled Code))
    at sun/nio/ch/ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:287(Compiled Code))
    at org/eclipse/jetty/server/ServerConnector.accept(ServerConnector.java:382(Compiled Code))
    at org/eclipse/jetty/server/AbstractConnector$Acceptor.run(AbstractConnector.java:593)
    at org/eclipse/jetty/util/thread/QueuedThreadPool.runJob(QueuedThreadPool.java:654)
    at org/eclipse/jetty/util/thread/QueuedThreadPool$3.run(QueuedThreadPool.java:572)
    at java/lang/Thread.run(Thread.java:825)

     

    Got something else on mind? Post Your Question