摘要: 线上CPU飙升排查 准备一份代码 public class Main { public static void main(String[] args) { int i = 0; while (true) { i++; i--; } } } 步骤 top命令找到对应进程 top 找到占用最高的线程 方 阅读全文
posted @ 2022-07-11 17:54 emmith 阅读(278) 评论(0) 推荐(0)
摘要: 问题 在master中存入数据后,并没有同步到slave中 overcommit_memory is set to 0 WARNING overcommit_memory is set to 0! Background save may fail under low memory condition 阅读全文
posted @ 2022-07-11 16:16 emmith 阅读(1165) 评论(0) 推荐(1)