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/07/28 04:16:39 UTC

[GitHub] [rocketmq] lindow2009 opened a new issue, #4707: diskMaxUsedSpaceRatio had no effect.

lindow2009 opened a new issue, #4707:
URL: https://github.com/apache/rocketmq/issues/4707

   set diskMaxUsedSpaceRatio=99 in broker.conf and properties,but it had no effect.
   
   always has error。
   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 fix it?


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

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


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

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

   > Same problem here.Still not work after I tried `fileReservedTime ` and `diskMaxUsedSpaceRatio ` both
   
   Maybe you only have one commitlog in your store path. It is recommended to write more data, multiple commitlogs, and then set the values of these two parameters as small as possible, and then observe the effect. If it does not work, wish you can provide more detailed information. such as store.log


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


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

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

   Same problem here.Still not work after I tried `fileReservedTime ` and `diskMaxUsedSpaceRatio `  both 


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


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

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

   > set diskMaxUsedSpaceRatio=99 in broker.conf and properties,but it had no effect.
   > 
   > always has error。 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 fix it?
   
   With -Drocketmq.broker.diskSpaceWarningLevelRatio instead of diskMaxUsedSpaceRatio


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


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

Posted by GitBox <gi...@apache.org>.
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


[GitHub] [rocketmq] github-actions[bot] commented on issue #4707: diskMaxUsedSpaceRatio had no effect.

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4707:
URL: https://github.com/apache/rocketmq/issues/4707#issuecomment-1661267882

   This issue is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs.


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


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

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

   > 
   It looks like there are two problems:
   1. If you want to delete the old commitlog immediately, you can try to use _fileReservedTime_ and _diskMaxUsedSpaceRatio_  these wo parameters at the same time.
   2. This error can be optimized, and sending a message to the slave broker will also generate this exception, would you like to submit a PR to polish it?


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


[GitHub] [rocketmq] github-actions[bot] commented on issue #4707: diskMaxUsedSpaceRatio had no effect.

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4707:
URL: https://github.com/apache/rocketmq/issues/4707#issuecomment-1666293306

   This issue was closed because it has been inactive for 3 days since being marked as stale.


-- 
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: commits-unsubscribe@rocketmq.apache.org

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


[GitHub] [rocketmq] github-actions[bot] closed issue #4707: diskMaxUsedSpaceRatio had no effect.

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #4707: diskMaxUsedSpaceRatio had no effect.
URL: https://github.com/apache/rocketmq/issues/4707


-- 
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: commits-unsubscribe@rocketmq.apache.org

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