Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Apache Tomcat all thread, sometime hang
SocketInputStream.socketRead0 ,but cpu is very low。
os Windows server 12
windchill version 10.2 m230
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:312)
at org.apache.coyote.ajp.AjpProcessor.readMessage(AjpProcessor.java:367)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:118)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
- locked org.apache.tomcat.util.net.SocketWrapper@4cc1fe0b
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:65)
at java.lang.Thread.run(Thread.java:745)
at org.apache.tomcat.util.threads.TaskThread.run(TaskThread.java:103)
Locked synchronizers:
- java.util.concurrent.ThreadPoolExecutor$Worker@4b1e072
i give problem code:
"ajp-bio-8011-exec-22" Id=10442 daemon prio=5 RUNNABLE (in native)
Blocked (cnt): 1978; Waited (cnt): 1366
CPU nanos: 172000000000; User nanos: 151890625000; Bytes allocated: 27385700440
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:312)
at org.apache.coyote.ajp.AjpProcessor.readMessage(AjpProcessor.java:367)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:118)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
- locked org.apache.tomcat.util.net.SocketWrapper@4cc1fe0b
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:65)
at java.lang.Thread.run(Thread.java:745)
at org.apache.tomcat.util.threads.TaskThread.run(TaskThread.java:103)
Locked synchronizers:
- java.util.concurrent.ThreadPoolExecutor$Worker@4b1e072
There is not enough information to assist you. You did not include Windchill version or OS. Let the field know what you've tried or if this is related to a certain action. The partial error message you posted is very generic and not helpful. I would also not classify this as "super big bug" since it may just be a tuning issue.
i find no tomcat connector timeout value.please tell me how change the timeout value
URIEncodingacceptCountaddressajpFlushallowTraceclassNameconnectionLingerconnectionTimeoutenableLookupsexecutorNamekeepAliveTimeoutlocalPortmaxHeaderCountmaxKeepAliveRequestsmaxParameterCountmaxPostSizemaxSavePostSizemaxSwallowSizemaxThreadsminSpareThreadsmodelerTypepacketSizeportprocessorCacheprotocolprotocolHandlerClassNameproxyNameproxyPortredirectPortschemesecretsecuresslProtocolsstateNametcpNoDelaythreadPriorityuseBodyEncodingForURIuseIPVHostsxpoweredBy
UTF-8 |
100 |
true |
false |
-1 |
-1 |
false |
Internal |
-1 |
8011 |
100 |
-1 |
-1 |
8388608 |
320 |
8 |
16384 |
8011 |
200 |
AJP/1.3 |
org.apache.coyote.ajp.AjpProtocol |
0 |
443 |
http |
false |
STARTED |
true |
5 |
true |
false |
falsetimeout not set.how change the value |
every 2 hour snow,but no gc