On 19/01/2016 22:36, Rallavagu wrote: > Also, it could be keep-alive for client connection as well. In any case, > how long a keep-alive connection will be in this state by default? Thanks.
This behaviour is entirely normal. Why are you concerned about it? Regarding how long the thread will be in this state, the default keep-alive timeout for the HTTP BIO connector can be found in the documentation. (Yes, I do happen to know what it is but think of this as an exercise for the reader.) Mark > > On 1/19/16 2:24 PM, Rallavagu wrote: >> Thanks Mark. It seems to be running for almost 10 seconds and there is a >> Load Balancer between. Is it a suspect? >> >> On 1/19/16 2:09 PM, Mark Thomas wrote: >>> On 19/01/2016 21:42, Rallavagu wrote: >>>> I have this long running thread. It appears to be reading but the stack >>>> trace does not give much of a clue. Could anyone help with where to >>>> start? Thanks. >>> >>> Looks like an HTTP keep-alive connection waiting for the next request. >>> >>> Mark >>> >>> >>>> >>>> Tomcat 7.0.42 with JDK 7 >>>> >>>> "tomcat-exec-2655" daemon prio=10 tid=0x00007fc459061000 nid=0x6a58 >>>> runnable [0x00007fc4a67e6000] >>>> java.lang.Thread.State: RUNNABLE >>>> at java.net.SocketInputStream.socketRead0(Native Method) >>>> at java.net.SocketInputStream.read(SocketInputStream.java:152) >>>> at java.net.SocketInputStream.read(SocketInputStream.java:122) >>>> at >>>> org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:519) >>>> >>>> >>>> >>>> at >>>> org.apache.coyote.http11.InternalInputBuffer.fill(InternalInputBuffer.java:504) >>>> >>>> >>>> >>>> at >>>> org.apache.coyote.http11.Http11Processor.setRequestLineReadTimeout(Http11Processor.java:168) >>>> >>>> >>>> >>>> at >>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:991) >>>> >>>> >>>> >>>> at >>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:620) >>>> >>>> >>>> >>>> at >>>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) >>>> >>>> >>>> >>>> - locked <0x0000000799d09cb8> (a >>>> org.apache.tomcat.util.net.SocketWrapper) >>>> at >>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>>> >>>> >>>> >>>> at >>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>>> >>>> >>>> >>>> at >>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) >>>> >>>> >>>> >>>> at java.lang.Thread.run(Thread.java:745) >>>> >>>> Locked ownable synchronizers: >>>> - <0x000000072eebc6c0> (a >>>> java.util.concurrent.ThreadPoolExecutor$Worker) >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>>> For additional commands, e-mail: users-h...@tomcat.apache.org >>>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>> For additional commands, e-mail: users-h...@tomcat.apache.org >>> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org