Uploaded image for project: 'Apache InLong'
  1. Apache InLong
  2. INLONG-442

Modifying the jvm parameters when the broker starts does not take effect

    XMLWordPrintableJSON

Details

    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

      ```

      Attachments

        1. image-2020-12-04-10-59-09-079.png
          14 kB
          Guocheng Zhang

        Activity

          People

            gosonzhang Guocheng Zhang
            leno xianle cao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m