April 23, 2020
Estimated Post Reading Time ~

AEM How to identify the check session count

Issues:
  • In many cases, the problem is the number of open sessions it too large.
  • At some point, it slows down processing.
Solution:
  • To find out if this is the case, run
jps -l (to get the process id of the Java process)
jmap -histo | grep CRXSession (to get the number of open sessions)


Conclusion:
  • If no of opened sessions count is greater then some hundred, then there is a possibility of session related issues.
  • Possibly a session pool is used (depending on the version of CRX / CQ there could be a hotfix for the given problem),
  • or an internal (possibly application level) cache references sessions. To analyze where those sessions are opened.
  • Generate thread dump and heap dump to find out the RCA.
  • Use the eclipse MAT for heap dump analysis and TDA or fast thread for the thread dump analysis.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.