ThreadDumps on AEM 6.3 instances | Community
Skip to main content
Level 2
November 2, 2017

ThreadDumps on AEM 6.3 instances

  • November 2, 2017
  • 3 replies
  • 3829 views

Hi All ,

we are seeing thread dumps on our AEM instances . when we analyze the dump we found most of the threads are in waiting state (80%).

below are the details on our instance

  1. Java Version - OpenJDK version "1.8.0_10"
  2. AEM Directory is owned by root , and we dont have any service account for AEM to run under . do we need to setup one?
  3. Java Opts - -Xms4096m -Xmx4096m -XX:MetaspaceSize=100m
  4. we have online revision clean up which runs as suggested .  do we have to run any other maintenance tasks or scheduled system restarts ?

please provide us with steps to follow to avoid these thread dumps

below is info from thread Dump

86 threads in WAITING state

sling-oak-113 - priority:5 - threadId:0x18b3 - nativeId:0xffffffff - state:WAITING
stackTrace:
java.lang.Thread.State: WAITING (on object monitor)
at sun.misc.Unsafe.park(Native Method)
- waiting to lock <0x5dc62067> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) owned by "null" tid=0x-1
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

smacdonald2008
Level 10
November 2, 2017

I am checkign internally for this one. There may be a good doc on this. In mean time - look here: CQ Thread Dump - CQ Tutorials

Level 2
November 3, 2017

Thank you it will be very helpfull if we get the doc. we will also refer to the link provided.

Mean while can you please help us in understanding the below issues

  1. ifsopenjdk 8 supported by AEM 6.3  , as openjdk is reference implementation of SE JDK 8? or do we need to install Oracle SE 8 JDK on all the AEM 6.3 instances.
  2. AEM Directory is owned by root , and we dont have any service account for AEM to run under . do we need to setup one?
  3. Java Opts - -Xms4096m -Xmx4096m -XX:MetaspaceSize=100m
  4. we have online revision clean up which runs as suggested .  do we have to run any other maintenance tasks or scheduled system restarts ?
kautuk_sahni
Community Manager
Community Manager
November 3, 2017

Platform supported can be been seen at Technical Requirements

I don't see open SDK support as per the documentation.

~kautuk

Kautuk Sahni
Adobe Employee
November 3, 2017

Thread from ThreadExeutorPool in waiting state is normal as reported in post is normal and not cause of concern

Level 2
July 21, 2021

Hello @maryw24753203 

any updates here ?