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 2020/12/02 03:27:11 UTC

[GitHub] [rocketmq] lwclover opened a new issue #2471: sometimes cause: MQBrokerException CODE: 2 DESC:[TIMEOUT_CLEAN_QUEUE]

lwclover opened a new issue #2471:
URL: https://github.com/apache/rocketmq/issues/2471


   **BUG REPORT**
   
   1. sometimes cause: 
   MQBrokerException  CODE: 2 DESC:[TIMEOUT_CLEAN_QUEUE] broker busy, start flow control for a while, period in queue: 207ms, size of queue 0.
   
   2. Please tell us about your environment:
   centos6
   rocketmq 4.5.2, the cluster is syn double write, async flush disk.
   
   3. Other information:
   G1 gc max pause time is very low, less than 20ms.
   BrokerFastFailure.start method start a thread to clean Expired Request in every 10 millseconds.
   One of the thread job is to check SendThreadPoolQueue, If there is a message more than 200 milliseconds(default waitTimeMillsInSendQueue=200) in queue, the message will be removed.
   In SendMessageProccessor the handleHA method the syncFlushTimeout is 5000.
   This is a **terrible** default parameter.
   
   additional: sendMessageExecutor default only has one thread


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] duhenglucky commented on issue #2471: sometimes cause: MQBrokerException CODE: 2 DESC:[TIMEOUT_CLEAN_QUEUE]

Posted by GitBox <gi...@apache.org>.
duhenglucky commented on issue #2471:
URL: https://github.com/apache/rocketmq/issues/2471#issuecomment-738490683


   @lwclover It is recommended to increase the number of _sendMessageThreadPoolNums_ and _waitTimeMillsInSendQueue_ In addition, you can test 4.7.1  which has a performance improvement of about ten times.


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [rocketmq] vongosling closed issue #2471: sometimes cause: MQBrokerException CODE: 2 DESC:[TIMEOUT_CLEAN_QUEUE]

Posted by GitBox <gi...@apache.org>.
vongosling closed issue #2471:
URL: https://github.com/apache/rocketmq/issues/2471


   


----------------------------------------------------------------
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:
users@infra.apache.org