doc-exports/docs/mrs/umn/mrs_03_1162.html
Yang, Tong 3b1f73dece MRS UMN 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2022-12-13 12:03:34 +00:00

2.1 KiB

How Do I Configure the knox Memory?

  1. Log in to a Master node of the cluster as user root.
  2. Run the following command on the Master node to open the gateway.sh file:

    su omm

    vim /opt/knox/bin/gateway.sh

  3. Change APP_MEM_OPTS="" to APP_MEM_OPTS="-Xms256m -Xmx768m", save the file, and exit.
  4. Run the following command on the Master node to restart the knox process:

    sh /opt/knox/bin/gateway.sh stop

    sh /opt/knox/bin/gateway.sh start

  5. Repeat the preceding steps on each Master node.
  6. Run the ps -ef |grep knox command to check the configured memory.

    Figure 1 knox memory