-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Ravi,

On 5/21/14, 2:28 AM, ravishankar_d wrote:
> Hi Dan,
> 
> We are using apache web server provided along with RHEL.So I
> believe we are getting back port fixes. In the threaddump we are
> seeing the below long running threads many times.As mentioned, we
> are using AJP(with BIO) and tomacat 7.0.52. I wanted to know if
> this will cause any issues like system hung over a period of time.
> Also we are thinking of NIO protocol instead of BIO for AJP
> 
> 
> "ajp-bio-10.181.42.51-9011-exec-112" daemon prio=10
> tid=0x00000000161aa000 nid=0x776c runnable [0x00002b23c3c64000] 
> 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.ajp.AjpProcessor.read(AjpProcessor.java:309) at
> org.apache.coyote.ajp.AjpProcessor.readMessage(AjpProcessor.java:364)
>
> 
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:121)
> at 
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
>
> 
at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
>
> 
- - locked <0x00000007b25a5b58> (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 java.lang.Thread.run(Thread.java:744)
> 
> Locked ownable synchronizers: - <0x00000007b25e7618> (a
> java.util.concurrent.ThreadPoolExecutor$Worker)

The BIO connectors will sit in that state while waiting for (followup)
keepalive requests to be read from a connection. If you think your
client are being starved, consider reducing your keepAliveTimeout to
something other than the default (which is likely to be the same as
connectionTimeout, which defaults to 60s but is set to 20s on a
default install).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTfj2wAAoJEBzwKT+lPKRYmu4P/1QVRW9zrgzfSj8eIw2rPb++
0TxBOOQsOsf1AdkCVR2ysJ1r9hf5lVOn53BYYhIMhj70u43jPTJAy9HmbE5XgIVK
fwrmNaUhgVaGM1hr8EdjSRn6p07ihuddYiF/r8aVeLK/LdVuq7xSJfM2wypuXA2y
NqPH0fo1ZlFc96ZMvFgmfRHWQDspKeCp1Vo/DHCmcXez0UUeLPRB7nf2ozrgO7JW
jej1uA/xZAk5/JEzWdY/ji16Uq0XXXGBpKhuY+ikMEOZ2rMwNtR+8LB1hlx3DUZs
4FRe8VKSb7O2AukK/BZ90epTX+wN0fWnKM5cJzhKe6zRftrQUt7HOPKysIgb2TXh
/MeOkPGihcDPfQB84uwZF6Ajo7JtmGcV/ln7g5gbTvRwj6E5y5S1Pw3gnopfhz8/
mm83XOSqe0cITpgAyNRcvMP2cfvbWVNRh1a1f363pyY+6R5BGHKLQOlqL5UA2E0g
Y9d3mDQVHFLcFTxF5YI4Upb9EzJ51oT9qsnfum4YGuBvNhQ2KyU696svMSuITiyQ
g8ehxjGRcV0iYmADELE1gayEI+TX8+UgrBCwd9FGjXKF7cmq2lllro41zdT7xvNo
WAmxQffqcUbnSJHr6MsWRj/7AV35Cs8VJiWa0Q+wkg3s710UaDlm1Ry5bFKSvDuG
C2HzhtfUzTsGlqnby+mY
=F8em
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to