Recommended Core Settings
JVM Logging Options
The JVM can be configured to log details about garbage collection and classloading that may be helpful when analyzing portal performance.
Code Block |
---|
# GC Logging
-verbose:gc
-XX:+PrintGCTimeStamps
-XX:+PrintGCDetails
-XX:+PrintTenuringDistribution
-XX:+PrintAdaptiveSizePolicy
-XX:AdaptiveSizePolicyOutputInterval=1
-Xloggc:/my/up/logs/gc.log
# Classloading Logging
-verbose:class
|
JVM Monitoring Options
Code Block |
---|
# Enable JMX Remote Monitoring
-Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.password.file=/my/password
-Dcom.sun.management.jmxremote.access.file=/my/access
|
JVM Debugging Options
Code Block |
---|
# Debuging
-Xdebug
-Xrunjdwp:transport=dt_socket,address=7000,server=y,suspend=n
|
Warning |
---|
icon | false |
---|
title | Having problems with these instructions? |
---|
|
Please send us feedback at uportal-user@lists.ja-sig.org |