[ 
https://issues.apache.org/jira/browse/ROCKETMQ-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15807639#comment-15807639
 ] 

ASF GitHub Bot commented on ROCKETMQ-33:
----------------------------------------

Github user zhouxinyu commented on a diff in the pull request:

    https://github.com/apache/incubator-rocketmq/pull/31#discussion_r95059881
  
    --- Diff: store/src/main/java/org/apache/rocketmq/store/CommitLog.java ---
    @@ -1045,7 +1045,7 @@ public void run() {
     
                 while (!this.isStopped()) {
                     try {
    -                    this.waitForRunning(0);
    +                    this.waitForRunning(1000);
    --- End diff --
    
    I also think `waitForRunning(0)` is too rigorous, but 
`waitForRunning(1000)` is adventurous while the `GroupCommitService` may miss 
some notify signals.
    
    How about set a smaller wait time, like 10ms? what's your opinion ? 
@qinliujie 


> CPU Occupy 100%
> ---------------
>
>                 Key: ROCKETMQ-33
>                 URL: https://issues.apache.org/jira/browse/ROCKETMQ-33
>             Project: Apache RocketMQ
>          Issue Type: Bug
>          Components: rocketmq-broker
>    Affects Versions: 4.0.0-incubating
>            Reporter: qinliujie
>            Assignee: yukon
>            Priority: Critical
>         Attachments: RocketMQ_性能Bug.pdf
>
>
> when start RocketMQ,CPU get very high



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to