Re: Long running socket reads

2016-10-17 Thread Rallavagu
On 10/14/16 1:01 AM, Mark Thomas wrote: On 12/10/2016 16:22, Rallavagu wrote: Tomcat 7.0.70 - Sun JDK 1.7.0_80 I have following long running thread (almost 5 sec). No you don't. That thread isn't doing it any work. It is blocking, waiting for I/O. Well, I got in impression because the

Re: Long running socket reads

2016-10-14 Thread Mark Thomas
On 12/10/2016 16:22, Rallavagu wrote: > Tomcat 7.0.70 - Sun JDK 1.7.0_80 > > I have following long running thread (almost 5 sec). No you don't. That thread isn't doing it any work. It is blocking, waiting for I/O. > It appears to be reading data from socket Sort of correct. It is waiting for

Long running socket reads

2016-10-12 Thread Rallavagu
Tomcat 7.0.70 - Sun JDK 1.7.0_80 I have following long running thread (almost 5 sec). It appears to be reading data from socket (external resource potentially). Wonder how I could go about debug these kind of threads to understand which external resource is it spending more time on reading.