-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[Bug] doris2.1.7的fe的cpu持续超过60% #44121
Comments
How many cores does your FE have? which version did you use before? |
the machine is Alibaba Cloud Elastic Compute Service . cat /proc/cpuinfo |grep "name" |cut -f2 -d: |uniq -c |
jstack output: "Thread-38" #50 daemon prio=5 os_prio=0 tid=0x00007fa6c0b53800 nid=0x7bed waiting on condition [0x00007fa60b3fb000] "Automatic Analyzer" #43 daemon prio=5 os_prio=0 tid=0x00007fa6c0b52800 nid=0x7bec waiting on condition [0x00007fa60b7fc000] "Statistics Table Cleaner" #41 daemon prio=5 os_prio=0 tid=0x00007fa6c1cf1000 nid=0x7beb waiting on condition [0x00007fa60bbfd000] "stateListener" #90 daemon prio=5 os_prio=0 tid=0x00007fa6c1cf0000 nid=0x7bea waiting on condition [0x00007fa60bffe000] "ReplayThread" #87 daemon prio=5 os_prio=0 tid=0x00007fa648825000 nid=0x7be9 waiting on condition [0x00007fa614df2000] |
自己解决了上述问题 |
Search before asking
Version
2.1.7
What's Wrong?
很奇怪现象,2.1.7的fe在没有实时连接的情况下,cpu的占用率也超过60%,如下图所示
https://ask.selectdb.com/uploads/post/5jc8xaLDYY9.png
top -H -p fe进程
https://ask.selectdb.com/uploads/post/5jc8D2nnYeW.png
fe的配置:
元数据保存位置
meta_dir = /data/doris-meta
#多网卡配置网段
priority_networks = 172.16.0.0/24
#调整 FE 内存,默认8g,因为目前总内存16G,暂不调整
#修改 Doris 大小写敏感参数
lower_case_table_names = 1
enable_outfile_to_local=true
#解决内存占用高的参数
wait_timeout = 300
set global enable_auto_analyze = false
What You Expected?
cpu在没有外部连接的时候,低于20%
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: