forked from docs/doc-exports
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>
2.1 KiB
2.1 KiB
How Do I Configure the knox Memory?
- Log in to a Master node of the cluster as user root.
- Run the following command on the Master node to open the gateway.sh file:
su omm
vim /opt/knox/bin/gateway.sh
- Change APP_MEM_OPTS="" to APP_MEM_OPTS="-Xms256m -Xmx768m", save the file, and exit.
- 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
- Repeat the preceding steps on each Master node.
- Run the ps -ef |grep knox command to check the configured memory.
Parent topic: Cluster Management