VPLEX: How to reduce Java's high CPU utilization on the management server.
Summary: This article walks through the process of lowering the Java's high CPU utilization percentage. This can be done by restarting the management console.
Symptoms
Restart the Management Station console from the management server using the command;sudo /etc/init.d/VPlexManagementConsole restart
Checking the VPLEX management server Java utilization shows that it is consuming over 100%.service@#########:~> top
top - 14:45:38 up 993 days, 3:16, 4 users, load average: 1.37, 1.43, 1.47
Tasks: 137 total, 2 running, 135 sleeping, 0 stopped, 0 zombie
Cpu(s): 50.9%us, 0.3%sy, 0.0%ni, 48.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 3920420k total, 3361876k used, 558544k free, 26616k buffers
Swap: 8388604k total, 3750660k used, 4637944k free, 350828k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
11316 service 25 5 6902m 2.7g 9868 S 101 71.4 47236:56 java
Cause
This can be seen in environments that have been up for extended periods of time. In these situations, the services running on the management server can start to consume too many resources.
Resolution
Before restarting any management console or management server, ensure that there are no ongoing migrations (device or extent)
Run the below commands on the Management Station console:
Step 1: Verify the management server console's pid:
Example:service@#########:~> sudo /etc/init.d/VPlexManagementConsole status
VPlexManagementConsole is running (pid 11315)
Step 2: Restarting of management server console: (to restart the Management Server software.)
Example:service@#########:~> sudo /etc/init.d/VPlexManagementConsole restart
Restarting EMC VPlex Management Console... done
Step 3: Post restarting the management server software verify the pid:
Example:service@#########:~> sudo /etc/init.d/VPlexManagementConsole status
VPlexManagementConsole is running (pid 23533)
Check if the issue is resolved after the restart.service@#########:~> top
top - 15:05:08 up 993 days, 3:36, 5 users, load average: 1.72, 1.57, 1.52
Tasks: 144 total, 2 running, 142 sleeping, 0 stopped, 0 zombie
Cpu(s): 36.8%us, 2.0%sy, 0.0%ni, 45.3%id, 15.7%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 3920420k total, 1446552k used, 2473868k free, 27192k buffers
Swap: 8388604k total, 81112k used, 8307492k free, 484428k cachedPID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND23534 service 20 0 2840m 1.2g 23m S 6 33.0 22:57.52 java