Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AEM Start up

vishnuvardhankr
Level 2
Level 2

Hi All,

We have below start up parameter on AEM 5.6.1 instance.

# JVM PARAMETERS
CQ_HEAP_MAX=6144
CQ_MAX_PERMSIZE=512
CQ_CODE_CACHE=128

CQ_CODE_CACHE_OPTS="-XX:ReservedCodeCacheSize=${CQ_CODE_CACHE}m -XX:+UseCodeCacheFlushing"

CQ_GC_OPTS="-XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -Xloggc:${CQ_HOME}/logs/gc.log -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCApplicationConcurrentTime
-XX:+PrintGC -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:+CMSClassUnloadingEnabled -Dcrx.memoryCheckDisabled=true -Dcrx.diskSpaceMin=0"

CQ_JVM_MXREMOTE_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmx
remote.port=1${CQ_PORT} -Djava.rmi.server.hostname=${JVM_IP}"

CQ_JVM_OPTS="-Dsling.run.modes=${CQ_RUNMODE} -Djava.awt.headless=true -Dcrx.memoryCheckDisabled=true -Dcrx.diskSpaceMin=0 -Dorg.apache.jackrabbit.version.recovery=true
-Djava.security.auth.login.config=${CQ_JASS_CONFIG}"

CQ_JVM_OPTS="${CQ_JVM_OPTS} -Djackrabbit.maxQueuedEvents=1000000 -Dcom.day.crx.persistence.tar.IndexMergeDelay=0 -Dmemorymaxusage=98 -Dcrx.memoryMinStdev=1"
CQ_JVM_OPTS="${CQ_JVM_OPTS} -Dorg.apache.jackrabbit.core.state.validatehierarchy=true -Dcom.day.crx.persistence.tar.MinIdle=15"
CQ_JVM_OPTS="${CQ_JVM_OPTS} -XX:-UseSplitVerifier -XX:ParallelGCThreads=8 -XX:MaxTenuringThreshold=13 -XX:+UseAdaptiveGCBoundary"
#CQ_JVM_OPTS="${CQ_JVM_OPTS} -XX:+UseParallelGC -XX:+UseParallelOldGC"

export CQ_JVM_OPTS="-server -Xmx${CQ_HEAP_MAX}m -XX:MaxPermSize=${CQ_MAX_PERMSIZE}m ${CQ_JVM_OPTS} ${CQ_JVM_MXREMOTE_OPTS} ${CQ_CODE_CACHE_OPTS} ${CQ_GC_OPTS}"

Can anyone please let me know, if this can be tuned up?

 

Thanks.

2 Replies
Jörg_Hoh
Employee
Employee

Hi,

what do you want achieve with this tuning?

kind regards,
Jörg

vishnuvardhankr
Level 2
Level 2

Hi Jorg,

Thank you for the reply. We can see that the instance is taking too long to get started. We suspect GC is running concurrently on the instance. Please help.

Regards,

Vishnu