My Oracle Support Banner

[OVM/PCA]: High CPU Utilization due to OVMCLI (Doc ID 2447952.1)

Last updated on SEPTEMBER 27, 2019

Applies to:

Oracle VM - Version 3.4.5 to 3.4.5 [Release OVM34]
Private Cloud Appliance - Version 2.3.4 to 2.3.4 [Release 2.0]
Oracle Private Cloud at Customer - Version N/A to N/A
Linux x86-64

Symptoms

This issue can be observed in OVM 3.4.5, PCA 2.3.4 (including any PCA customer upgrading to PCA 2.3.4 or a new install) and also in Private Cloud at Customer (PCC).

High CPU utilization is seen when opening one or more CLI sessions and just closing the terminals. (without typing exit)

+Before opening multiple OVMCLI session.

Use following command to identify the PID of CLIMain process.
====================

# /u01/app/oracle/java/bin/jps -l | grep CLIMain
26265 com.oracle.cli.ovm.CLIMain

PID of CLIMain is 26265

Now you can see, the PID 26265 having 0% CPU utilization.

top - 14:06:54 up 89 days, 4:44, 2 users, load average: 9.52, 33.34, 42.18
Tasks: 311 total, 1 running, 310 sleeping, 0 stopped, 0 zombie
Cpu(s): 4.3%us, 1.3%sy, 0.0%ni, 93.2%id, 0.5%wa, 0.0%hi, 0.7%si, 0.0%st
Mem: 32880132k total, 27072648k used, 5807484k free, 407724k buffers
Swap: 16777212k total, 117824k used, 16659388k free, 18866800k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
12864 oracle 20 0 13.5g 4.7g 50m S 42.8 14.9 3627:11 java
5745 oracle 20 0 6047m 1.5g 9304 S 10.3 4.9 1812:39 mysqld
12800 oracle 20 0 103m 1204 1056 S 0.0 0.0 0:00.00 startWebLogic.s
12803 oracle 20 0 103m 1412 1120 S 0.0 0.0 0:00.02 startWebLogic.s
26265 oracle 20 0 9.9g 79m 14m S 0.0 0.2 0:01.92 java

Only 25 Threads are open for PID 26265.

# ps -T -p 26265 | wc -l

25

+After closing multiple OVMCLI sessions (without typing exit).

PID 26265 having CPU utilization as much as 736.4 %

top - 14:21:34 up 89 days, 4:59, 3 users, load average: 17.29, 7.49, 18.40
Tasks: 316 total, 1 running, 315 sleeping, 0 stopped, 0 zombie
Cpu(s): 96.6%us, 0.9%sy, 0.0%ni, 2.3%id, 0.0%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 32880132k total, 30120956k used, 2759176k free, 408528k buffers
Swap: 16777212k total, 117824k used, 16659388k free, 18868644k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
26265 oracle 20 0 12.4g 3.0g 15m S 736.4 9.5 14:12.88 java <==========
12864 oracle 20 0 13.5g 4.7g 50m S 24.9 14.9 3632:13 java
5745 oracle 20 0 6047m 1.5g 9304 S 8.5 4.9 1813:43 mysqld
12800 oracle 20 0 103m 1204 1056 S 0.0 0.0 0:00.00 startWebLogic.s
12803 oracle 20 0 103m 1412 1120 S 0.0 0.0 0:00.02 startWebLogic.s

JAVA thread count reached to 64.

# ps -T -p 26265 | wc -l
64

Changes

 No changes.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.