April 23, 2020
Estimated Post Reading Time ~ < 1 Min

AEM How to take a Thread Dump

The thread dump is a list of all the Java threads that are currently active. If AEM does not respond properly, the thread dump can help you identify deadlocks or other problems.

Using Sling Thread Dumper
Open the AEM Web Console; for example at http://localhost:4502/system/console/.
Select the Threads under Status tab. screen_shot_2012-02-13at43925pm

Using jstack (command line)
Find the PID (process id) of the AEM Java instance.
For example, you can use ps -ef or jps

Run:

jstack pid
This will show the thread dump.

Note:
You can append the thread dumps to a log file by using the >> output redirection:
jstack pid >> /path/to/logfile.log See the How to take Thread Dumps from a JVM documentation for more information
aem4beginner.blogspot


By aem4beginner

No comments:

Post a Comment

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

Ad Blocker Detected :(

Please consider supporting us by disabling your ad blocker.

Please Disable your adblocker and Refresh the page to view the site content.