Skip to main content
12-Amethyst
July 22, 2024
Question

windchill super big bug

  • July 22, 2024
  • 1 reply
  • 2159 views

 

Apache Tomcat all thread, sometime hang

SocketInputStream.socketRead0 ,but cpu is very low。

os Windows server 12

windchill version 10.2 m230

 

 
Sometimes the CPU of the two front-end method servers is somewhat increased, but they do not perform gc at the same time. The same point is running this code SocketInputStream.socketRead0 。It is a system-level snow and does not involve specific operational functions.
 

 

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

 

 

 

1 reply

avillanueva
23-Emerald I
23-Emerald I
July 22, 2024

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.

12-Amethyst
July 23, 2024

i find no tomcat connector timeout value.please tell me how change the timeout value