-
Notifications
You must be signed in to change notification settings - Fork 328
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
升级2.5.0后cpu负载异常升高 #252
Comments
是的,2.5.0的问题在2.6.0里得到了修复。 |
是整个master节点多了0.2个核的cpu消耗,还是每个主从同步增量推送线程多了0.2核的cpu消耗呢?我这边观察多个集群的master节点,单个主从同步增量推送线程都稳定消耗0.04个核心,2.5.0将incrPushThreadnum默认值由4改成了10,如果我想通过将该值改回4以降低cpu消耗,不知道在2.5.0版本会不会造成什么其他的影响呢? |
这个线程主要是用来做主从数据同步的,如果设置的少了,可能会造成主从之间数据同步进度较慢,在负载较高的情况下容易出现从节点数据落后主节点数据过多,主节点如果发生崩溃等情况,可能丢失数据。 |
集群从2.4.2升级2.5.0之后,进程的cpu占用异常升高数倍,主要消耗在主从复制的相关线程,升级到2.6.0之后又恢复正常了。根据现象好像就是2.5.0版本的主从复制线程异常消耗了大量的cpu资源
Tasks
The text was updated successfully, but these errors were encountered: