apache / rocketmq-docker

Apache RocketMQ Docker
https://rocketmq.apache.org/
Apache License 2.0
680 stars 246 forks source link

Can not set custom MAX_HEAP_SIZE and HEAP_NEWSIZE #94

Closed hq-git closed 6 days ago

hq-git commented 11 months ago

BUG REPORT

  1. Please describe the issue you observed:

  2. Please tell us about your environment:

    • Run multiple rocketmq containers on one host.
  3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

    • The runbroker-customize.sh calculate_heap_sizes function will not overrides the values of MAX_HEAP_SIZE and HEAP_NEWSIZE variables, when they already have values.
jsbxyyx commented 10 months ago
broker setup
copy an runbroker.sh,runserver.sh
-v ./data/broker/bin/runbroker.sh:/home/rocketmq/rocketmq-${ROCKETMQ_VERSION}/bin/runbroker.sh
-v ./data/broker/bin/runserver.sh:/home/rocketmq/rocketmq-${ROCKETMQ_VERSION}/bin/runserver.sh
supery-chen commented 6 months ago

+1