[VOTE][RIP-64] Heartbeat Optimization

2023-04-26 Thread 2017赵科
Hi, RocketMQ Community,


As discussed in the previous email, we launched a new RIP​​[RIP-64]Heartbeat 
Optimization to support this feature. Now the


i...@foxmail.com is willing to support the RIP, so I think it is time to start 
an email thread to enter the voting process.


The vote will be open for at least 72 hours or until a necessary number of 
votes are reached.


Please vote accordingly:


[ ] +1 approve
[ ] +0 no opinion
[ ] -1 disapprove with the reason


Best Regards!
drizzle.zk




links:
Google Doc: 
https://docs.google.com/document/d/174p0N7yDX0p_jvaujwHGFsZ410FKbq3vqGT1RUUyV1c/edit?usp=sharing





2017赵科
464473...@qq.com





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

2023-04-26 Thread GitBox


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

Thanks @imp2002, Great suggestion!

But I would like to recommend setting the `transientStorePoolSize` >= 2 to make 
sure every CommitLog could borrow a write buffer.

And maybe you want to know the trade-off for enabling transientStorePool: each 
buffer will occupy 1G memory by default, and increase the latency of flushing 
disk (setting flushDiskType=SYNC_FLUSH could be better).

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


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



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

2023-04-26 Thread GitBox


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

我试试

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


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



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

2023-04-26 Thread GitBox


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

okkk

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


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



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

2023-04-26 Thread GitBox


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-unsubscr...@rocketmq.apache.org



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

2023-04-26 Thread GitBox


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


![image](https://user-images.githubusercontent.com/41513919/234561217-d71ef767-a460-43d5-ac59-9855c216a564.png)

Seems cause by `Page Cache busy`, a possible solution is to enable the 
`transientStorePoolEnable` and set the `transientStorePoolSize` realize 
read-write separation, relieve pressure on page cache.
```conf
transientStorePoolEnable=true
transientStorePoolSize=1
```

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


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



[GitHub] [rocketmq] yijieyu added a comment to the discussion: CODE: 2 DESC: [REJECTREQUEST]system busy, start flow control for a while BROKER

2023-04-26 Thread GitBox


GitHub user yijieyu added a comment to the discussion: CODE: 2  DESC: 
[REJECTREQUEST]system busy, start flow control for a while BROKER

@quattro-abc  How to solve it

this is conf

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

GitHub link: 
https://github.com/apache/rocketmq/discussions/6432#discussioncomment-5728377


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