Enabling Garbage Collection Logs for the OPE Server Container
Follow these steps to enable Garbage Collection (GC) logs for the OPE Server Docker container.
Prerequisites
Execute the script
$AF_HOME/docker/copy-required-files.sh.
Procedure
-
Update the
JVM_OPTIONS variable in
$AF_HOME/docker/fom-ope/4.0.0/ope/standalone/bin/start.sh file.
-Xloggc:${HOST_LOG_ROOT_LOCATION_DIR_PATH}/gc.log -XX:CMSInitiatingOccupancyFraction=70 -XX:+UseConcMarkSweepGC -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=<HOST_LOG_ROOT_LOCATION_DIR_PATH>/heapdump.hprof -XX:-PrintConcurrentLocks -XX:+PrintGCDetails -XX:+PrintGCDateStamps
-
Build the
fom-ope docker image by following directions listed in
Building Docker Images.
Copyright © Cloud Software Group, Inc. All rights reserved.