One of the important steps after upgradation is applied all the possible performance tuning activities. We did following things as a part of it.
- Update JVM Parameters in start script
- Check CQ process: $ps –ef | grep cq
- Check crx-quickstart path : $pwdx <pid>
- Go to crx-quickstart path: $cd <aem-install-path>/crx-quickstart/bin
- Edit start file using Vi editor, Update CQ_JVM_OPTS as mentioned below;
- Reduce Xms heap size from 27648 MB to 12000 MB and Xmx from 27648 MB to 18000 MB
- Update CQ_JVM_OPTS statement from CQ 5.6.1 instance and add below properties:
- Doak.queryLimitInMemory=500000
- Doak.queryLimitReads=100000
- Dupdate.limit=250000
- Doak.fastQuerySize=true
- XX:+CMSScavengeBeforeRemark
- -XX:+ScavengeBeforeFullGC
- -XX:+ParallelRefProcEnabled
- -XX:CMSInitiatingOccupancyFraction=70
- -XX:+UseConcMarkSweepGC
- -XX:+CMSParallelRemarkEnabled
- -XX:ConcGCThreads=8
- -XX:ParallelGCThreads=8
- -Xloggc:/opt/adobe/author/crx-quickstart/logs/gc-auth.log
- -XX:+UseGCLogFileRotation
- -XX:NumberOfGCLogFiles=10
- -XX:GCLogFileSize=10M
- -XX:+HeapDumpOnOutOfMemoryError
- -XX:HeapDumpPath=/opt/adobe/author/crx-quickstart/logs/dump
- -XX:ErrorFile=/opt/adobe/author/crx-quickstart/logs/jvm/hs_err_pid%p.log
- -Djackrabbit.maxQueuedEvents=1000000
- -Djava.io.tmpdir=/opt/adobe/author/tmp
- -Djava.awt.headless=true
- -Doak.queryLimitInMemory=500000
- -Doak.queryLimitReads=100000
- -Dupdate.limit=250000
- -Doak.fastQuerySize=true
- -Dorg.apache.jackrabbit.core.security.authorization.acl.CachingEntryCollector.maxsize=30000'
- Installing all Hotfixes, security patches & Service packs
- OSGI configuration changes like
- Increase Cache size for CQBufferedImageCache
- Disable Mobile Redirect Filter, if not needed
- Disable Mobile TransformerFactory, if not needed
- Set Number of Requests to Record to Zero in Sling Main Servlet
- Disable unnecessary OSGI Components
- Disable unused components
- Index optimisations
- Go to /oak:index/nodetype ,
- Edit property *declareNodeType and remove slingevent:Job from array
- Reindex nodetype using operation OOTB tool.
- Workflows - Convert workflow type to “Transient” (if lots of workflows are going to be used)
- Remove Sling Queues Configured
- After doing both post upgrade activities and performance tuning activities, its important to do sanity on the AEM systems
- Check Login page and welcome page post login.
- Check CRXde, CRX Explorer is accessible
- Check if Replication agents are accessible.
- Check DAM admin access and view image properties.
- Check tools console (miscadmin).
- Check workflow console and view workflow models.
- Check cloud services console
- Check Tags console.
- Check Felix console (bundles, configMgr, services, components, JMX console etc.)
- Check Package manager console.
Comments
Post a Comment