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 2022/08/01 13:20:46 UTC

[GitHub] [rocketmq] WeiJiaYue commented on issue #4707: diskMaxUsedSpaceRatio had no effect.

WeiJiaYue commented on issue #4707:
URL: https://github.com/apache/rocketmq/issues/4707#issuecomment-1201195907

   **Problem**
   * diskMaxUsedSpaceRatio had no effect.
   * with error below
   ```
   org.apache.rocketmq.client.exception.MQBrokerException: CODE: 14 DESC: service not available now. It may be caused by one of the following reasons: the broker's disk is full [CL: 0.92 CQ: 0.92 INDEX: 0.92], messages are put to the slave, message store has been shut down
   ```
   
   **How to solve**
   * With -Drocketmq.broker.diskSpaceWarningLevelRatio instead of diskMaxUsedSpaceRatio
   
   **New Question**
   Finally, solved this problem after delving in source code.
   In fact ,the parameter `diskMaxUsedSpaceRatio ` does not work, it can be solved by parameter `diskSpaceWarningLevelRatio` with -Drocketmq.broker.diskSpaceWarningLevelRatio
   
   As the snippet below,the `diskMaxUsedSpaceRatio` seems to have no effect,Is it possible to be optimized here?
   <img width="932" alt="image" src="https://user-images.githubusercontent.com/38973058/182155494-e82f1e48-71ff-40a0-af29-cc3a8336770c.png">
   
   
   
   


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org