zzh

zzh

RocketMq exception: service not available now. It may be caused by one of the following reasons: the broker's disk is full [CL: 0.31 CQ: 0.31 INDEX: 0.31], messages are put to the slave, message store has been shut down, etc.

The main cause of this exception is insufficient disk space for message storage. In this case, you can perform the following two operations:

  • Modify the disk space warning ratio
    Add set "JAVA_OPT=%JAVA_OPT% -server -Xms512m -Xmx512m -Xmn128m -Drocketmq.broker.diskSpaceWarningLevelRatio=0.99" to the runbroker.cmd file to trigger an error only when disk usage exceeds 99%. The fundamental solution is to ensure that disk space never exceeds 90%.

  • Change the storage location of messages to a disk with more available space
    Add set "JAVA_OPT=%JAVA_OPT% -Duser.home=D:/mqs/rocket-mq" to the runbroker.cmd file.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.