Quantcast
Channel: Experiencing Adobe Experience Manager (AEM, CQ)
Viewing all articles
Browse latest Browse all 525

AEM CQ 56 - Useful Tips For Debugging

$
0
0
          
A very useful document, but lists commands on UNIX, if you are on windows

1) To check the number of sessions held in memory ( read this article for more detailed analysis on dealing with unclosed sessions ), in windows, get CQ process id


Run the jmap command of jvm

                               jmap -histo:live <<pid>> | findstr CRXSessionImpl

So in my CQ, as of this writing, there are 105 sessions (second column) still open in memory


2) To generate and check thread dumps, either use Threads tab of CQ5 Web Console http://localhost:4502/system/console or Jstack

Run the jstack command of jvm

                       jstack <<pid>> | findstr cq



Viewing all articles
Browse latest Browse all 525

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>