Hi All,
Every time I start AEM, AEM will not respond after a while.
This is what I am seeing in the monitoring page. It is showing the number of active sessions are growning.
http://localhost:4503/libs/granite/operations/content/monitoring/page.html
But I am not find a session leak in the JMX page.
http://localhost:4503/system/console/jmx
Does anyone know how or where can I find out what is causing this problem?
When AEM is not responsive, error log is no longer produced. For example, if AEM is not resonsive in the 2021-12-21, you will find there is no error log file for 2021-12-21, other logs are work well, like request.log.2021-12-21.
AEM : 6.5.7.0
Environment : Windows 10
Thanks,
Forrest
Solved! Go to Solution.
Views
Replies
Total Likes
okay, please upgrade your Java version to 11. That should resolve your problem.
Thank you.
Hi,
Can you check logs to find out the root cause of the issue.
Regards
Manikantha R
There is no error in the log.
Hi @ForrestLi , what are the params you are using to start the instance ?
Try using -Xmx1024m -XX:MaxPermSize=256m while starting the instance.
Probably you should see something in the error.org whenever the instance malfunctions.
Thanks
This is my params.
java -Dcrx.debug.sessions=true -Dsun.arch.data.model=32 -XX:MaxPermSize=2048m -Xmx4096M -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8766,server=y,suspend=n -jar aem65-publish-p4503.jar -r publish localdev
Hi @ForrestLi,
May I know if this is a recent change after installing a service pack or something?
Also, try changing the JAVA version (sometime back this helped me).
Thank you.
I recent upgrade the AEM from AEM 6.1 to AEM 6.5.
okay, please upgrade your Java version to 11. That should resolve your problem.
Thank you.
Hi @ForrestLi
Did you analyzed the threaddump? If you find deadlock in SCR Component Registry (refer below) then it is known issue in AEM 6.5.7 and this was addressed in Service Pack 8 or later (refer link [0]). Try upgrading service SP8 or later and see if that works.
Deadlock in the SCR Component Registry when many threads are blocked due to org.apache.felix.scr.impl.ComponentRegistry timer. As a result, Experience Manager stops responding for an indefinite time (GRANITE-33125,FELIX-6252).
Thanks
Sudharsan
Thanks Sudharsan, the issue been fixed after I updated the service package to 6.5.11
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies