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>
3.2 KiB
3.2 KiB
How Do I Adjust the Memory Size of the manager-executor Process?
Symptom
The manager-executor process runs either on the Master1 or Master2 node in the MRS cluster in active/standby mode. This process is used to encapsulate the MRS management and control plane's operations on the MRS cluster, such as job submission, heartbeat reporting, certain alarm reporting, as well as cluster creation, scale-out, and scale-in. When you submit jobs on the MRS management and control plane, the Executor memory may become insufficient as the tasks increase or the number of concurrent tasks increases. As a result, the CPU usage is high and the Executor process experiences out-of-memory (OOM) errors.
Procedure
- Log in to either the Master1 or Master2 node as user root and run the following command to switch to user omm:
su - omm
- Run the following command to modify the catalina.sh script. Specifically, search for JAVA_OPTS in the script, find the configuration items similar to JAVA_OPTS="-Xms1024m -Xmx4096m, and change the values of the items to desired ones, and save the modification.
vim /opt/executor/bin/catalina.sh
- The manager-executor process only runs on either the Master1 or Master2 node in active/standby mode. Check whether it exists on the node before restarting it.
Parent topic: Cluster Management