My Oracle Support Banner

12c EM : emagent.nohup ファイルに "Invalid maximum heap size" を出力し、Agent の起動が失敗する (Doc ID 2338751.1)

Last updated on DECEMBER 13, 2017

適用範囲:

Enterprise Manager Base Platform - バージョン 12.1.0.5.0 以降
この文書の内容はすべてのプラットフォームに適用されます。
本文書利用上のご注意
  本文書は英語の文書 <Document 2312476.1> (最終メジャー更新日: 2017年10月05日) の日本語翻訳版です。
  英語の文書のメジャー更新に応じて本文書を随時更新いたします。

現象

12c Agent の起動が失敗する:

Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
Starting agent ...........................................................................................................................failed.
Consult emctl.log and emagent.nohup in: /u01/app/oracle/product/emagent12c/agent_inst/sysman/log

-  "emctl status agent" は以下を示します:

Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent is Not Running

-  しかしながら、複数の emwd.pl に関する perl プロセスが実行されているのが確認できます:

ps -ef | grep <agent_home>
............

/emagent12c/agent_inst/sysman/log/emagent.nohup
oracle 348334 0.5 0.1 449680 326592 ? S Aug29 229:18 /u01/app/oracle/product/emagent12c/core/12.1.0.5.0/perl/bin/perl 
/u01/app/oracle/product/emagent12c/core/12.1.0.5.0/bin/emwd.pl agent /u01/app/oracle/product/emagent12c/agent_inst/sysman/log/emagent.nohup
oracle 367843 0.5 0.1 449680 326568 ? S Aug29 229:33 /u01/app/oracle/product/emagent12c/core/12.1.0.5.0/perl/bin/perl 
/u01/app/oracle/product/emagent12c/core/12.1.0.5.0/bin/emwd.pl agent /u01/app/oracle/product/emagent12c/agent_inst/sysman/log/emagent.nohup
oracle 376231 0.3 0.0 199384 76380 ? S Sep20 26:25 /u01/app/oracle/product/emagent12c/core/12.1.0.5.0/perl/bin/perl 
/u01/app/oracle/product/emagent12c/core/12.1.0.5.0/bin/emwd.pl agent /u01/app/oracle/product/emagent12c/agent_inst/sysman/log/emagent.nohup

-  <AGENT_INST>/sysman/log/emagent.nohup ファイルは以下を示します:

----- Tue Sep 26 14:24:02 2017::191581::Launching the JVM with following options: -Xmx512M:MaxPermSize=96M -Djava.net.preferIPv4Stack=true -server 
-Djava.security.egd=file:///dev/./urandom -Dsun.lang.ClassLoader.allowArraySyntax=true -XX:+UseLinuxPosixThreadCPUClocks -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled 
-XX:+UseCompressedOops -----
----- Tue Sep 26 14:24:02 2017::191581::Agent Launched with PID 242180 at time Tue Sep 26 14:24:02 2017 -----
----- Tue Sep 26 14:24:02 2017::242180::Execing EMAgent process is taking longer than expected 120 secs -----
----- Tue Sep 26 14:24:02 2017::242180::Time elapsed between Launch of Watchdog process and execing EMAgent is 128 secs -----
----- Tue Sep 26 14:24:02 2017::306524::Auto tuning the agent at time Tue Sep 26 14:24:02 2017 -----
Invalid maximum heap size: -Xmx512M:MaxPermSize=96M
Could not create the Java virtual machine.
----- Tue Sep 26 14:24:02 2017::297818::Auto tuning the agent at time Tue Sep 26 14:24:02 2017 -----
----- Tue Sep 26 14:24:02 2017::219540::Checking status of EMAgent : 240506 -----
----- Tue Sep 26 14:24:02 2017::219540::EMAgent exited at Tue Sep 26 14:24:02 2017 with return value 1. -----
----- Tue Sep 26 14:24:02 2017::219540::Restarting EMAgent. -----
----- Tue Sep 26 14:24:02 2017::367843::Auto tuning the agent at time Tue Sep 26 14:24:02 2017 -----
----- Tue Sep 26 14:24:03 2017::219540::Auto tuning the agent at time Tue Sep 26 14:24:03 2017 -----
----- Tue Sep 26 14:24:03 2017::160046::Checking status of EMAgent : 240766 -----
----- Tue Sep 26 14:24:03 2017::160046::EMAgent exited at Tue Sep 26 14:24:03 2017 with return value 1. -----
----- Tue Sep 26 14:24:03 2017::160046::Restarting EMAgent. -----

Agent を複数回起動しようとした為、多数の perl プロセスが生成されています。

原因

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.