EM 12c : emctl start agent Crashes or Restarts Due to 'Out Of Memory Error' 'target.interaction.execution.SeverityLogWriter' Reported in Heapdump (Doc ID 1944859.1)

Last updated on SEPTEMBER 16, 2017

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

The $/AGENT_INST/bin/emctl start agent command returns that agent has started. After some time, the agent crashes and restarts due 'Out of memory' 

The <agent_inst>/sysman/log/emagent.nohup reports the following message

2014-06-06 23:57:12,401 [1:main] WARN - Missing filename for log handler 'opsscfg'
Agent is going down due to an OutOfMemoryError
----- Fri Jun 6 23:57:48 2014::19217::Checking status of EMAgent : 20358 -----
----- Fri Jun 6 23:57:57 2014::19217::Checking status of EMAgent : 20358 -----
----- Fri Jun 6 23:57:57 2014::19217::EMAgent exited at Fri Jun 6 23:57:57 2014 with return value 57. -----
----- Fri Jun 6 23:57:57 2014::19217::EMAgent will be restarted because of an Out of Memory Exception. -----
----- Fri Jun 6 23:57:57 2014::19217::Restarting EMAgent. ----- 

The heapdump reports the following:

One instance of "oracle.sysman.gcagent.target.interaction.execution.SeverityLogWriter" loaded
by "sun.misc.Launcher$AppClassLoader @ 0xef2c1980" occupies 65,329,720 (36.18%) bytes.

Keywords
sun.misc.Launcher$AppClassLoader @ 0xef2c1980
oracle.sysman.gcagent.target.interaction.execution.SeverityLogWriter

Class Name Shallow Heap Retained Heap
oracle.sysman.gcagent.target.interaction.execution.SeverityLogWriter @
0xf093bd58 56 65,329,720
severityLogWriter
oracle.sysman.gcagent.target.interaction.execution.Threshold @ 0xf0942968 1616
<Java Local> oracle.sysman.gcagent.util.system.GCAThread @ 0xef67e2d8 GC.Executor.150
(oracle_database:tepi1_tepi11_dansrzl100:ha_rac_intrconn_traffic)
(oracle_database:tepi1_tepi11_dansrzl100:ha_rac_intrconn_traffic:ha_rac_intrconn_traffic) Thread 128 5,200
<Java Local> oracle.sysman.gcagent.util.system.GCAThread @ 0xf04d5d00
GC.Executor.146 (rac_database:HMCAMS1_dansrzl100:problemTbsp_10i_Loc)
(rac_database:HMCAMS1_dansrzl100:problemTbsp_10i_Loc:problemTbsp) Thread 128

Changes

 

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