#Alert from OEM.
Target type=Oracle WebLogic Server
Target name=/EMGC_GCDomain/GCDomain/EMGC_OMS1
Categories=Capacity
Message=The heap usage is 92%.
Severity=Critical
Event Type=Metric Alert
Event name=jvm:heapUsedPercentage.value
Metric Group=JVM Metrics
Metric=Heap Usage (%)
Metric value=92
Key Value=
Rule Name=Incident management rule set for all DBA related targets,Create incident for critical metric alerts
Rule Owner=SYSMAN
Update Details:
The heap usage is 92%.
#Solution.
1. Stop OMS
$OMS_HOME/bin>./emctl stop oms -all -force
2. Have a backup of $EM_INSTANCE_BASE/gc_inst/user_projects/domains/GCDomain/bin/startEMServer.sh file
Update the following section:
From
USER_MEM_ARGS="-Xms256M -Xmx1740M -XX:PermSize=128M -XX:MaxPermSize=1024M"
if [ "${JAVA_VENDOR}" = "Sun" ] ; then
if [ "${PRODUCTION_MODE}" = "" ] ; then
USER_MEM_ARGS="-Xms256M -Xmx1740M -XX:PermSize=128M -XX:MaxPermSize=1024M -XX:CompileThreshold=8000 -XX:-DoEscapeAnalysis -XX:+UseCodeCacheFlushing -
XX:ReservedCodeCacheSize=100M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled"
TO
USER_MEM_ARGS="-Xms256M -Xmx4096M -XX:PermSize=128M -XX:MaxPermSize=1024M"
if [ "${JAVA_VENDOR}" = "Sun" ] ; then
if [ "${PRODUCTION_MODE}" = "" ] ; then
USER_MEM_ARGS="-Xms256M -Xmx4096M -XX:PermSize=128M -XX:MaxPermSize=1024M -XX:CompileThreshold=8000 -XX:-DoEscapeAnalysis -XX:+UseCodeCacheFlushing -
XX:ReservedCodeCacheSize=100M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled"
Note that we have Replaced Xmx value of 1740 to 4096 in 2 places above. if issue still persist then increse the values to next optimal value.
3. Start OMS
$OMS_HOME/bin>./emctl start oms
#Reference.
EM 13C : Heap usage Warning or Critical Alerts for EMGC_ADMINSERVER Target (Doc ID 2320739.1)
Target type=Oracle WebLogic Server
Target name=/EMGC_GCDomain/GCDomain/EMGC_OMS1
Categories=Capacity
Message=The heap usage is 92%.
Severity=Critical
Event Type=Metric Alert
Event name=jvm:heapUsedPercentage.value
Metric Group=JVM Metrics
Metric=Heap Usage (%)
Metric value=92
Key Value=
Rule Name=Incident management rule set for all DBA related targets,Create incident for critical metric alerts
Rule Owner=SYSMAN
Update Details:
The heap usage is 92%.
#Solution.
1. Stop OMS
$OMS_HOME/bin>./emctl stop oms -all -force
2. Have a backup of $EM_INSTANCE_BASE/gc_inst/user_projects/domains/GCDomain/bin/startEMServer.sh file
Update the following section:
From
USER_MEM_ARGS="-Xms256M -Xmx1740M -XX:PermSize=128M -XX:MaxPermSize=1024M"
if [ "${JAVA_VENDOR}" = "Sun" ] ; then
if [ "${PRODUCTION_MODE}" = "" ] ; then
USER_MEM_ARGS="-Xms256M -Xmx1740M -XX:PermSize=128M -XX:MaxPermSize=1024M -XX:CompileThreshold=8000 -XX:-DoEscapeAnalysis -XX:+UseCodeCacheFlushing -
XX:ReservedCodeCacheSize=100M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled"
TO
USER_MEM_ARGS="-Xms256M -Xmx4096M -XX:PermSize=128M -XX:MaxPermSize=1024M"
if [ "${JAVA_VENDOR}" = "Sun" ] ; then
if [ "${PRODUCTION_MODE}" = "" ] ; then
USER_MEM_ARGS="-Xms256M -Xmx4096M -XX:PermSize=128M -XX:MaxPermSize=1024M -XX:CompileThreshold=8000 -XX:-DoEscapeAnalysis -XX:+UseCodeCacheFlushing -
XX:ReservedCodeCacheSize=100M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSClassUnloadingEnabled"
Note that we have Replaced Xmx value of 1740 to 4096 in 2 places above. if issue still persist then increse the values to next optimal value.
3. Start OMS
$OMS_HOME/bin>./emctl start oms
#Reference.
EM 13C : Heap usage Warning or Critical Alerts for EMGC_ADMINSERVER Target (Doc ID 2320739.1)
No comments:
Post a Comment