12.1.0.5 Cloud Control Management Agent Consuming a lot of CPU on Hosts when Monitoring Database Targets (Doc ID 2128112.1)

Last updated on JUNE 13, 2017

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.5.0 and later
Enterprise Manager for Oracle Database - Version 12.1.0.8.0 and later
Information in this document applies to any platform.

Symptoms

High CPU usage is observed on a 12.1.0.5 Cloud Control Management Agent (EMAgent):

 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 3561 oracle 20 0 8826300 712304 11440 S 497.0 0.5 21017:04 java

After checking the highest CPU consuming thread with "top -H -p <EMAgent PID>", and taking a jstack from EMAgent ($AGENT_HOME/jdk/bin/jstack <EMAgent pid> > /tmp/jstack.out), this thread is showing on top:

GC.Executor.79 (oracle_database:mydb:topSqlMonitoringList_col) (oracle_database:mydb:topSqlMonitoringList_col:topSqlMonitoringList)" prio=10 tid=0x00007f084c002000 nid=0x33f0 
runnable [0x00007f08faeec000]
java.lang.Thread.State: RUNNABLE
at java.util.Arrays.copyOf(Arrays.java:2882)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
at java.lang.StringBuilder.append(StringBuilder.java:119)

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms