agent bin directory: /opt/app/oracle/agentHome/core/12.1.0.2.0/bin
agent logs directory: /opt/app/oracle/agentHome/agent_inst/sysman/log
cat gcagent.log
and error looks like below
2016-03-21 10:35:47,412 [5421649:68EFA393:CRSeOns] INFO - uncaughtException handler with
java.lang.OutOfMemoryError: Java heap space
2016-03-21 10:35:50,446 [1:main] ERROR - agent main throw an error
java.lang.OutOfMemoryError: Java heap space
[153032:GC.Executor.70250] ERROR - Critical error:
oracle.sysman.gcagent.task.TaskZombieException: task declared as a zombie
emd properties directory: /opt/app/oracle/agentHome/agent_inst/sysman/config
1) Stop the agent:
./emctl stop agent
2) Back up the emd.properties file[../agent_inst/sysman/config] and edit as follows:
a) Add these lines:
_zombieSuspensions=true
_canceledThreadWait=210
b) Change the indicated line as follows:
from :
agentJavaDefines=-Xmx128M -XX:MaxPermSize=96M
to:
agentJavaDefines=-Xmx512M -XX:MaxPermSize=96M
3) Start the agent:
./emctl start agent
agent logs directory: /opt/app/oracle/agentHome/agent_inst/sysman/log
cat gcagent.log
and error looks like below
2016-03-21 10:35:47,412 [5421649:68EFA393:CRSeOns] INFO - uncaughtException handler with
java.lang.OutOfMemoryError: Java heap space
2016-03-21 10:35:50,446 [1:main] ERROR - agent main throw an error
java.lang.OutOfMemoryError: Java heap space
[153032:GC.Executor.70250] ERROR - Critical error:
oracle.sysman.gcagent.task.TaskZombieException: task declared as a zombie
emd properties directory: /opt/app/oracle/agentHome/agent_inst/sysman/config
1) Stop the agent:
./emctl stop agent
2) Back up the emd.properties file[../agent_inst/sysman/config] and edit as follows:
a) Add these lines:
_zombieSuspensions=true
_canceledThreadWait=210
b) Change the indicated line as follows:
from :
agentJavaDefines=-Xmx128M -XX:MaxPermSize=96M
to:
agentJavaDefines=-Xmx512M -XX:MaxPermSize=96M
3) Start the agent:
./emctl start agent
No comments:
Post a Comment