walterhong edited a comment on issue #1573: kill one rocketMq master broker and slave broker CPU is much higher than before URL: https://github.com/apache/rocketmq/issues/1573#issuecomment-562483902 @duhenglucky I have ran os.sh on every machine that broker is running, but when I killed the master broker, the slave broker cpu was still high. I configure master slave syncronizing mode to async, flushing disk mode to sync. The threads that has high cpu can be categorized into two types, one is nettynioselectorthread, the other is nettyservercodecthread. What the nettyservercodecthread is doing is showing in the following pictures:    the pictures are content of slave broker process in jstack. I find that when master broker is down, slave broker is trying to do something very fast in org.apache.rocketmq.remoting model, which makes the cpu high. There is another phenomenon that may cause this question. I kill master broker, and slave broker cpu is high every time I put a lot of message into rocketmq, but when I do this when rocketmq has a few messages, the slave broker cpu is normal.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
