You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/01/25 11:18:11 UTC

[GitHub] duhenglucky commented on issue #721: Question About [NOTIFYME]putMessage in lock cost time(ms)=4052

duhenglucky commented on issue #721: Question About [NOTIFYME]putMessage in lock cost time(ms)=4052
URL: https://github.com/apache/rocketmq/issues/721#issuecomment-457541447
 
 
   @mm23504570 As you described in this issue, you deployed the RocketMQ broker in a 8 core cpu server, but as the log showed, there are more than 48 sendMessageThread in config, and as RocketMQ used spinlock as default, so you can try to adjust  the sendMessageThread num to 8 to prevent more thread was blocked to obtain the spinlock, and this also will decrease you cpu utility.
   
   And please pay more attention to your memory usage especially cache usage, please reserve relative more free memory for RocketMQ. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services