You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tubemq.apache.org by "xianle cao (Jira)" <ji...@apache.org> on 2020/12/03 13:55:00 UTC
[jira] [Updated] (TUBEMQ-442) Modifying the jvm parameters when the
broker starts does not take effect
[ https://issues.apache.org/jira/browse/TUBEMQ-442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
xianle cao updated TUBEMQ-442:
------------------------------
Description:
When the master and broker are deployed on the same machine, modify the BROKER_JVM_SIZE parameter in the bin/env.sh file, the parameter does not take effect.
```
cat bin/env.sh
if [ -z "$MASTER_JVM_SIZE" ]; then
MASTER_JVM_SIZE="-Xmx10g -Xms6g"
fi
MASTER_JVM_ARGS="$MASTER_JVM_SIZE -server -Dtubemq.home=$tubemq_home -cp $CLASSPATH "
#Broker jvm args
if [ -z "$MASTER_JVM_SIZE" ]; then
BROKER_JVM_SIZE="-Xmx12g -Xms12g -Xmn4g"
fi
```
was:When the master and broker are deployed on the same machine, modify the BROKER_JVM_SIZE parameter in the bin/env.sh file, the parameter does not take effect.
> Modifying the jvm parameters when the broker starts does not take effect
> ------------------------------------------------------------------------
>
> Key: TUBEMQ-442
> URL: https://issues.apache.org/jira/browse/TUBEMQ-442
> Project: Apache TubeMQ
> Issue Type: Bug
> Components: Server
> Reporter: xianle cao
> Priority: Major
>
> When the master and broker are deployed on the same machine, modify the BROKER_JVM_SIZE parameter in the bin/env.sh file, the parameter does not take effect.
> ```
> cat bin/env.sh
> if [ -z "$MASTER_JVM_SIZE" ]; then
> MASTER_JVM_SIZE="-Xmx10g -Xms6g"
> fi
> MASTER_JVM_ARGS="$MASTER_JVM_SIZE -server -Dtubemq.home=$tubemq_home -cp $CLASSPATH "
> #Broker jvm args
> if [ -z "$MASTER_JVM_SIZE" ]; then
> BROKER_JVM_SIZE="-Xmx12g -Xms12g -Xmn4g"
> fi
> ```
--
This message was sent by Atlassian Jira
(v8.3.4#803005)