Updated on 2023-10-19 GMT+08:00
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.
Figure 1 knox memory
Parent topic: Cluster Management
Cluster Management FAQs
- How Do I View All Clusters?
- How Do I View MRS Operation Logs?
- How Do I View MRS Cluster Configuration Information?
- How Do I Add Components to an MRS Cluster?
- Do I Need to Shut Down a Master Node Before Upgrading It?
- Can I Delete Components Installed in an MRS Cluster?
- Can I Change MRS Cluster Nodes on the MRS Console?
- How Do I Cancel Message Notification for Cluster Alarms?
- Why Is the Resource Pool Memory Displayed in the MRS Cluster Smaller Than the Actual Cluster Memory?
- How Do I Configure the knox Memory?
- What Is the Python Version Installed for an MRS Cluster?
- How Do I View the Configuration File Directory of Each Component?
- How Do I Upload a Local File to a Node Inside a Cluster?
- What Can I Do If the Time Information of an MRS Cluster Node Is Incorrect?
- How Do I Query the Startup Time of an MRS Node?
- How Do I Do If Trust Relationships Between Nodes Are Abnormal?
- How Do I Adjust the Memory Size of the manager-executor Process?
- Can Master Node Specifications Be Adjusted in an MRS Cluster?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore