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 2023/04/26 11:53:20 UTC

[GitHub] [rocketmq] RongtongJin added a comment to the discussion: 请问该怎么解决 CODE: 2 DESC: [REJECTREQUEST]system busy, start flow control for a while BROKER:

GitHub user RongtongJin added a comment to the discussion: 请问该怎么解决 CODE: 2  DESC: [REJECTREQUEST]system busy, start flow control for a while BROKER:

> broker_default.log 一直报system busy 服务器2核8G 版本5.1.0 用controller方式quick_start启动
> 
> 这是配置文件
> 
> brokerClusterName = Cluster brokerName = rocket01 brokerId = -1 brokerRole = ASYNC_MASTER #flushDiskType=ASYNC_FLUSH deleteWhen = 04 fileReservedTime = 48 enableControllerMode = true controllerAddr = 10.203.1.115:9878;10.203.0.175:9878;10.203.1.50:9878 namesrvAddr = 10.203.1.115:9876;10.203.0.175:9876;10.203.1.50:9876 allAckInSyncStateSet=true listenPort=30911 storePathRootDir=/data/rmqstore/rocket02/ storePathCommitLog=/data/rmqstore/rocket02/commitlog sendMessageThreadPoolNums=4 useReentrantLockWhenPutMessage=true isEnableSlaveActingMaster=true
> 
> autoCreateTopicEnable=false autoCreateSubscriptionGroup=false

2c8g在较大流量下可能确实会造成system busy。调大osPageCacheBusyTimeOutMills可能可以从表面上缓解该现象,但如果系统存在性能瓶颈,还是需要升级规格或扩容。此外,我发现配置文件中isEnableSlaveActingMaster参数和enableControllerMode同时为true,两种模式无法同时启动,建议关闭isEnableSlaveActingMaster参数。

GitHub link: https://github.com/apache/rocketmq/discussions/6656#discussioncomment-5730571

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@rocketmq.apache.org