Update AEM Start.sh file:
#cat crx-quickstart/bin/start
# TCP port used for stop and status
scripts
CQ_PORT=4503
# HTTP host name
# CQ_HOST=
# interface that this server should
listen to
#CQ_INTERFACE='eth0'
# runmode(s)
CQ_RUNMODE=’publish,prod'
# name of the jarfile
#CQ_JARFILE=''
# use jaas.config
CQ_USE_JAAS='true'
# config for jaas
CQ_JAAS_CONFIG='/adobe/aem56/author/crx-quickstart/conf/ldap_login.conf'
# default JVM options
#CQ_JVM_OPTS='-server -Xmx4096m
-XX:MaxPermSize=1024M -Djava.awt.headless=true'
CQ_JVM_OPTS='-server -Xms6192m
-Xmx6192m -XX:MaxPermSize=1024M -Djava.awt.headless=true -XX:NewRatio=2
-XX:SurvivorRatio=6 -Xloggc:/data/author/crx-quickstart/gc.log -verbose:gc
-XX:+PrintGCTimeStamps -Dcom.sun.management.jmxremote
-Dcom.sun.management.jmxremote.port=9999
-Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false
-XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -XX:+UseParallelOldGC
-Dcom.day.crx.persistence.tar.IndexMergeDelay=0
-Djackrabbit.maxQueuedEvents=1000000
-XX:ReservedCodeCacheSize=128m
-XX:ParallelGCThreads=4
-XX:+UseAdaptiveGCBoundary -XX:MaxTenuringThreshold=100
-XX:-UseGCOverheadLimit
-XX:-UseGCLogFileRotation
-XX:+UseAdaptiveSizePolicy -XX:NewRatio=1 -XX:+AlwaysPreTouch'
#-XX:+UseGCOverheadLimit -Use a
policy that limits the proportion of the #VM's time that is spent in GC
before an OutOfMemory error is thrown
#-XX:-UseParallelGC Use parallel garbage collection for
scavenges
#-XX:-UseParallelOldGC Use parallel garbage collection for the
full collections
#-XX:NewRatio=n Ratio of old/new generation sizes.
#-XX:SurvivorRatio=n Ratio of
eden/survivor space size.
#-XX:ParallelGCThreads=n Sets the number of threads used during
parallel #phases of the garbage collectors.
#-XX:MaxPermSize=64m Size of the Permanent Generation
#-XX:SurvivorRatio=8 Ratio of eden/survivor space size
#file size limit (ulimit)
CQ_FILE_SIZE_LIMIT=8192
|
No comments:
Post a Comment