Ruees opened a new issue, #26189:
URL: https://github.com/apache/doris/issues/26189

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   1.2.6
   
   ### What's Wrong?
   
   There are three BE nodes in a resource group, and there have been Flink cdc 
tasks performing MySQL database synchronization doris. The CPU usage of two BE 
nodes is around 20%, but one BE node has a CPU usage rate of up to 90%. It 
should not be executing a Comparison because this state has been ongoing for a 
day. After performing stack tracing on this BE node, I obtained the following 
information
   
   
   2023-11-01 09:52:55
   Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.351-b10 mixed mode):
   
   "Attach Listener" #12 daemon prio=9 os_prio=0 tid=0x00007effc2c79800 
nid=0x1fb212 waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "Service Thread" #8 daemon prio=9 os_prio=0 tid=0x00007f00993a8800 
nid=0x1fac8b runnable [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C1 CompilerThread2" #7 daemon prio=9 os_prio=0 tid=0x00007f0099129000 
nid=0x1fac8a waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C2 CompilerThread1" #6 daemon prio=9 os_prio=0 tid=0x00007f0099128000 
nid=0x1fac89 waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "C2 CompilerThread0" #5 daemon prio=9 os_prio=0 tid=0x00007f00efe1f000 
nid=0x1fac88 waiting on condition [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "Signal Dispatcher" #4 daemon prio=9 os_prio=0 tid=0x00007f00993a8000 
nid=0x1fac87 runnable [0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "Finalizer" #3 daemon prio=8 os_prio=0 tid=0x00007f00993a7000 nid=0x1fac86 
in Object.wait() [0x00007f0095875000]
      java.lang.Thread.State: WAITING (on object monitor)
           at java.lang.Object.wait(Native Method)
           - waiting on <0x000000056ab08f08> (a 
java.lang.ref.ReferenceQueue$Lock)
           at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:150)
           - locked <0x000000056ab08f08> (a java.lang.ref.ReferenceQueue$Lock)
           at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:171)
           at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:188)
   
   "Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x00007f00eedd8800 
nid=0x1fac85 in Object.wait() [0x00007f0095976000]
      java.lang.Thread.State: WAITING (on object monitor)
           at java.lang.Object.wait(Native Method)
           - waiting on <0x000000056ab06ba0> (a java.lang.ref.Reference$Lock)
           at java.lang.Object.wait(Object.java:502)
           at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
           - locked <0x000000056ab06ba0> (a java.lang.ref.Reference$Lock)
           at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)
   
   "main" #1 prio=5 os_prio=0 tid=0x00007f00eae8e000 nid=0x1fac79 runnable 
[0x0000000000000000]
      java.lang.Thread.State: RUNNABLE
   
   "VM Thread" os_prio=0 tid=0x00007f00ed8e2800 nid=0x1fac84 runnable 
   
   "GC task thread#0 (ParallelGC)" os_prio=0 tid=0x00007f00ed8df000 
nid=0x1fac7e runnable 
   
   "GC task thread#1 (ParallelGC)" os_prio=0 tid=0x00007f00ed8e0000 
nid=0x1fac7f runnable 
   
   "GC task thread#2 (ParallelGC)" os_prio=0 tid=0x00007f00ed8e0800 
nid=0x1fac80 runnable 
   
   "GC task thread#3 (ParallelGC)" os_prio=0 tid=0x00007f00ed8e1000 
nid=0x1fac81 runnable 
   
   "VM Periodic Task Thread" os_prio=0 tid=0x00007f00ed8e3000 nid=0x1fac8c 
waiting on condition 
   
   JNI global references: 351
   
   ### What You Expected?
   
   Identify the cause of high CPU usage on BE node and how to solve it
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to