Интерпретация дампа потока Tomcat - PullRequest
0 голосов
/ 28 апреля 2020
  • У меня есть следующий дамп потока (см. Ниже), и я не уверен, что у меня тупик. Кто-нибудь может посоветовать, пожалуйста?

Цитата

  "ULFF3" prio=5 tid=84 WAITING
   at sun.misc.Unsafe.park(Native Method)
   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
      Local Variable: java.util.concurrent.locks.AbstractQueuedSynchronizer$Node#796
   at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      Local Variable: java.util.concurrent.ThreadPoolExecutor$Worker#18
   at java.lang.Thread.run(Thread.java:748)

  "http-nio-8080-exec-9" daemon prio=5 tid=74 WAITING
   at sun.misc.Unsafe.park(Native Method)
   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
      Local Variable: java.util.concurrent.locks.AbstractQueuedSynchronizer$Node#1121
   at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
   at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:103)
   at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:31)
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      Local Variable: java.util.concurrent.ThreadPoolExecutor$Worker#10
   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      Local Variable: org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#4
   at java.lang.Thread.run(Thread.java:748)

  "ULFF2" prio=5 tid=83 WAITING
   at sun.misc.Unsafe.park(Native Method)
   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
      Local Variable: java.util.concurrent.locks.AbstractQueuedSynchronizer$Node#1137
   at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      Local Variable: java.util.concurrent.ThreadPoolExecutor$Worker#19
   at java.lang.Thread.run(Thread.java:748)

  "http-nio-8080-exec-8" daemon prio=5 tid=72 WAITING
   at sun.misc.Unsafe.park(Native Method)
   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
      Local Variable: java.util.concurrent.locks.AbstractQueuedSynchronizer$Node#1091
   at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
   at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:103)
   at org.apache.tomcat.util.threads.TaskQueue.take(TaskQueue.java:31)
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      Local Variable: java.util.concurrent.ThreadPoolExecutor$Worker#11
   at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      Local Variable: org.apache.tomcat.util.threads.TaskThread$WrappingRunnable#5
   at java.lang.Thread.run(Thread.java:748)

  "Timer-484" daemon prio=1 tid=801 WAITING
   at java.lang.Object.wait(Native Method)
   at java.lang.Object.wait(Object.java:502)
   at java.util.TimerThread.mainLoop(Timer.java:526)
   at java.util.TimerThread.run(Timer.java:505)

  "ULFF1" prio=5 tid=82 WAITING
   at sun.misc.Unsafe.park(Native Method)
   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await
   (AbstractQueuedSynchronizer.java:2039)
      Local Variable: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject#182
      Local Variable: java.util.concurrent.locks.AbstractQueuedSynchronizer$Node#799
   at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
      Local Variable: java.util.concurrent.LinkedBlockingQueue#10
      Local Variable: java.util.concurrent.locks.ReentrantLock#514
      Local Variable: java.util.concurrent.atomic.AtomicInteger#132
   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
      Local Variable: java.util.concurrent.ThreadPoolExecutor#9
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      Local Variable: java.util.concurrent.ThreadPoolExecutor$Worker#20
   at java.lang.Thread.run(Thread.java:748)


  "instana-communication-com.instana.plugin.springboot-10.1.3.122:6563"
   daemon prio=1 tid=58 RUNNABLE
   at java.net.SocketInputStream.socketRead0(Native Method)
   at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
   at java.net.SocketInputStream.read(SocketInputStream.java:171)
      Local Variable: byte[]#38203
      Local Variable: java.io.FileDescriptor#195
   at java.net.SocketInputStream.read(SocketInputStream.java:141)
   at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
   at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
      Local Variable: sun.nio.cs.StreamDecoder#39
      Local Variable: java.nio.HeapCharBuffer#20
   at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
   at java.io.InputStreamReader.read(InputStreamReader.java:184)
   at java.io.BufferedReader.fill(BufferedReader.java:161)
   at java.io.BufferedReader.readLine(BufferedReader.java:324)
   at java.io.BufferedReader.readLine(BufferedReader.java:389)
   at com.instana.agent.AgentThread.accept(AgentThread.java:258)
      Local Variable: java.io.BufferedReader#35
      Local Variable: java.net.SocketInputStream#89
   at com.instana.agent.AgentThread.startListening(AgentThread.java:177)
   at com.instana.agent.AgentThread.access$300(AgentThread.java:31)
   at com.instana.agent.AgentThread$4.run(AgentThread.java:153)
      Local Variable: byte[]#38204
      Local Variable: java.net.ServerSocket#5
   at com.instana.agent.AgentThread$4.run(AgentThread.java:136)
      Local Variable: com.instana.agent.AgentThread$4#1
   at java.security.AccessController.doPrivileged(Native Method)
   at com.instana.agent.AgentThread

  .run(AgentThread.java:136)

  "http-nio-8080-exec-7" daemon prio=5 tid=71 WAITING
   at sun.misc.Unsafe.park(Native Method)
   enter code here

Пожалуйста, помогите мне разобраться в этих журналах и предложить инструменты для отладки утечек памяти в модулях kubernetes.

Должен ли я увеличить память и процессор для подсчета потоков? Заранее спасибо

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...