EM12c : emctl start / status agent 'Agent Running but Not Ready' 'ERROR - The agent is overloaded [current requests: 30]' Reported in gcagent.log

(Doc ID 1546529.1)

Last updated on DECEMBER 21, 2016

Applies to:

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

Symptoms

 $AGENT_INST/bin/emctl start agent

fails with the following error

Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
Starting agent ...started but not ready.

$/agent_inst/bin/emctl pingOMS

Oracle Enterprise Manager Cloud Control 12c Release 2  
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
EMD pingOMS error: The agent is running but is currently not ready to accept client requests

$/agent_inst/bin/emctl status agent

Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 12.1.0.2.0
OMS Version       : (unknown)
Protocol Version  : 12.1.0.1.0
Agent Home        : /home/oracle/agent12c/agent_inst
Agent Binaries    : /home/oracle/agent12c/core/12.1.0.2.0
Agent Process ID  : 13116
Parent Process ID : 1015
---------------------------------------------------------------
Agent is Running but Not Ready

/AGENT_INST/sysman/log/gcagent_errors.log reports the following message

2013-05-15 09:03:00,212 [1007937:HTTP Listener-1007937 - /emd/main/] ERROR - The agent is overloaded [current requests: 30]

OR

2014-04-25 10:45:18,106 [3641:HTTP Listener-3641 - /emd/main/] ERROR - The agent is overloaded [current requests: 29]
2014-04-29 09:14:00,806 [73:GCThread-11] ERROR - Critical error:
java.lang.OutOfMemoryError: Java heap space
at java.io.ByteArrayOutputStream.<init>(ByteArrayOutputStream.java:60)

 

You will most likely be hitting if you are not on the latest agent version.

OR

 

/AGENT_INST/sysman/log/gcagent_errors.log reports the following excpetion

2015-04-27 08:27:07,656 [1872:HTTP Listener-1872 - /emd/lifecycle/main/] ERROR - agent suffered internal error on request 143013402670001
2015-04-27 08:32:02,470 [54:HTTP Listener-54 - /emd/lifecycle/main/]
ERROR - agent suffered internal error on request 143013432150001
2015-04-27 08:32:36,201 [54:HTTP Listener-54 - /emd/lifecycle/main/] ERROR - agent suffered internal error on request 143013435530001
2015-04-27 08:33:09,868 [54:HTTP Listener-54 - /emd/lifecycle/main/] ERROR - agent suffered internal error on request 143013438900001
2015-04-27 08:33:43,360 [54:HTTP Listener-54 - /emd/lifecycle/main/] ERROR - agent suffered internal error on request 143013442250001
2015-04-27 08:39:13,264 [53:HTTP Listener-53 - /emd/lifecycle/main/] ERROR - agent suffered internal error on request 143013475240001

 

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