Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBLE空跑时某线程占用100%单颗CPU #3238

Open
xhailiang opened this issue May 6, 2022 · 0 comments
Open

DBLE空跑时某线程占用100%单颗CPU #3238

xhailiang opened this issue May 6, 2022 · 0 comments
Assignees
Labels
bug community issue from community

Comments

@xhailiang
Copy link

  • 版本:
    dble-3.21.10.3-20220331093302-java1.8.0_151-linux

  • 参数
    -DuseSqlStat=1

  • 现象
    DBLE空跑时,某个线程单CPU占用100%
    image

  • 对应线程jstack

"complexQueryExecutor12" #125 daemon prio=5 os_prio=0 tid=0x00007f6208003000 nid=0x50b4 runnable [0x00007f62203e0000]
   java.lang.Thread.State: RUNNABLE
        at com.actiontech.dble.statistic.stat.UserSqlHighStat.addSql(UserSqlHighStat.java:36)
        at com.actiontech.dble.statistic.stat.UserStat.update(UserStat.java:175)
        at com.actiontech.dble.statistic.stat.UserStatAnalyzer.onQueryResult(UserStatAnalyzer.java:54)
        at com.actiontech.dble.statistic.stat.QueryResultDispatcher$1.run(QueryResultDispatcher.java:57)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

   Locked ownable synchronizers:
        - <0x00000006eaa82278> (a java.util.concurrent.ThreadPoolExecutor$Worker)
@PanternBao PanternBao added the community issue from community label May 10, 2022
@PanternBao PanternBao added the bug label Sep 27, 2022
@PanternBao PanternBao self-assigned this Dec 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug community issue from community
Projects
None yet
Development

No branches or pull requests

2 participants