My Oracle Support Banner

EM 12c: Enterprise Manager 12.1.0.2 Cloud Control Agent が java.lang.OutOfMemoryError: Java heap space でクラッシュ時に自動的に再起動されない (Doc ID 2608798.1)

Last updated on NOVEMBER 08, 2019

適用範囲:

Enterprise Manager Base Platform - バージョン 12.1.0.1.0 から 12.1.0.2.0 [リリース 12.1]
この文書の内容はすべてのプラットフォームに適用されます。
*本文書で記載されている BUG 情報は My Oracle Support では公開されていない場合があります。

現象

Enterprise Manager (EM) 12c Cloud Control Agent が 'java.lang.OutOfMemoryError: Java heap space' でクラッシュ時にウォッチドッグ・プロセスにより自動的に再起動されません。

<AGENT_INST>/sysman/log/gcagent.log ファイルに以下が出力されます:

2013-02-21 16:43:43,776 [1:main] ERROR - agent main throw an error
java.lang.OutOfMemoryError: Java heap space
....
2013-02-21 16:44:05,495 [347114:GC.Executor.137521 (host:agentmachine.domain:FilesystemsLinux) (host:agentmachine.domain:FilesystemsLinux:Filesystems)] ERROR - host:agentmachine.domain:FilesystemsLinux:Filesystems
java.lang.OutOfMemoryError: Java heap space
2013-02-21 16:44:05,498 [91:3C0B0719:HTTP Listener-91] WARN - *jetty*: handle failed
java.lang.IllegalStateException: Internal error
    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.initHandshaker(SSLEngineImpl.java:414)
    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readRecord(SSLEngineImpl.java:959)
    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:837)
    at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:713)
    at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:607)
    at org.eclipse.jetty.http.ssl.SslSelectChannelEndPoint.unwrap(SslSelectChannelEndPoint.java:666)
    at org.eclipse.jetty.http.ssl.SslSelectChannelEndPoint.fill(SslSelectChannelEndPoint.java:335)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:281)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203)
    at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462)
    at oracle.sysman.gcagent.comm.agent.http.HTTPListenerThreadPool$JobSleeve.run(HTTPListenerThreadPool.java:256)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
    at oracle.sysman.gcagent.util.system.GCAThread$RunnableWrapper.run(GCAThread.java:141)
    at java.lang.Thread.run(Thread.java:662)
2013-02-21 16:44:05,497 [347235:F717DB89:GC.SysExecutor.16853 (Ping OMS)] INFO - attempting another heartbeat
2013-02-21 16:44:05,504 [32:F9C26A76] INFO - *jetty*: Graceful shutdown ContextHandler@6e0f0ad@6e0f0ad/emd/lifecycle/main,null
2013-02-21 16:44:05,504 [32:F9C26A76] INFO - *jetty*: Graceful shutdown HTTPLifecycleHandler@19d8f162
2013-02-21 16:44:05,504 [32:F9C26A76] INFO - *jetty*: Graceful shutdown ContextHandler@71cf662f@71cf662f/emd/main,null
2013-02-21 16:44:05,504 [32:F9C26A76] INFO - *jetty*: Graceful shutdown HTTPRequestHandler@673dd208
2013-02-21 16:44:05,504 [32:F9C26A76] INFO - *jetty*: Graceful shutdown ServletContextHandler@8135daf@8135daf/emd/browser,null
2013-02-21 16:44:05,504 [32:F9C26A76] INFO - *jetty*: Graceful shutdown ContextHandler@ba8402c@ba8402c/,null
2013-02-21 16:44:09,843 [347099:A0157156] INFO - Agent exiting with exit code 57
2013-02-21 16:44:09,891 [32:F9C26A76] INFO - *jetty*: Shutdown hook complete

 

<AGENT_INST>/sysman/log/emagent.nohup ファイルに以下が出力されます:

----- Thu Feb 21 16:44:05 2013::8589::Checking status of EMAgent : 8659 -----
Agent is going down due to an OutOfMemoryError
----- Thu Feb 21 16:44:14 2013::8589::Checking status of EMAgent : 8659 -----
----- Thu Feb 21 16:44:16 2013::8589::EMAgent exited at Thu Feb 21 16:44:16 2013 with return value 55. -----
----- Thu Feb 21 16:44:16 2013::8589::EMAgent has exited due to initialization failure. -----
----- Thu Feb 21 16:44:16 2013::8589::Stopping other components. -----
----- Thu Feb 21 16:44:16 2013::8589::Commiting Process death. -----
----- Thu Feb 21 16:44:16 2013::8589::Generating additional diagnostics for 8659 -----
----- Thu Feb 21 16:44:16 2013::8589::Generating openfiles report in <AGENT_BASE_DIR>/agent_inst/sysman/log/lsof_8659 -----
----- Thu Feb 21 16:44:16 2013::8589::Generating netstat report in <AGENT_BASE_DIR>/agent_inst/sysman/log/netstat_8659 -----
----- Thu Feb 21 16:44:16 2013::8589::Generating all host processes report in <AGENT_BASE_DIR>/agent_inst/sysman/log/allprocesses_8659 -----
----- Thu Feb 21 16:44:16 2013::8589::Exiting watchdog loop
 -----
 --- EMState agent

 

Agent は手動で起動する必要があります:

cd <AGENT_HOME>
emctl start agent

 

原因

To view full details, 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 a vibrant support community of peers and Oracle experts.