Configure Garbage Collection Logging
To configure garbage collection logging on the gateway:
gateway83
This is an advanced topic. Configure garbage collection only under the direction of CA Support.
To configure garbage collection logging on the
CA API Gateway
:- Access the privileged shell.
- Open the following file in a text editor:/opt/SecureSpan/Gateway/runtime/etc/profile.d/appliancedefs.sh
- Add the following block above the section "# Reserve ports 7001 and 7100 on the appliance".NODE_OPTS="-Xmx${java_ram}k -Xss256k -XX:+UseParallelOldGC"NODE_OPTS="$NODE_OPTS -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+UseGCLogFileRotation"NODE_OPTS="$NODE_OPTS -XX:NumberOfGCLogFiles=10 -XX:GCLogFileSize=20M -Xloggc:var/logs/ssg_gc.log"
- Save and exit theappliancedefs.shfile.
- Restart the Gateway:# service ssg restart