mongodb间歇性CPU高 #1528
Answered
by
JieTrancender
JieTrancender
asked this question in
Q&A
mongodb间歇性CPU高
#1528
-
最近发现mongodb会间歇性CPU飙高,正常大多时候是CPU40%+,间歇性会达到CPU140%+;对未加索引的表都增加了索引,对冗余的索引也都删除了,现在还是会出现;使用db.currentOp()查到间歇性会(其实也就是CPU高的时候,所以应该是和这个有关的)有
|
Beta Was this translation helpful? Give feedback.
Answered by
JieTrancender
Jan 26, 2022
Replies: 1 comment
-
问题应该确认了,脏数据百分比超过5%和缓存使用超过了80%,在后台执行eviction策略导致的。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
JieTrancender
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题应该确认了,脏数据百分比超过5%和缓存使用超过了80%,在后台执行eviction策略导致的。
https://mongoing.com/archives/8781
https://www.mongodb.com/community/forums/t/high-cpu-usage-on-mongo-server-but-mongo-seems-to-be-idle/103146