Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

AEM Publisher and Author are stopping after a period of time, not sure why

Avatar

Level 2

My AEM Publisher and Author instances on RHEL are repeatedly stopping after running smoothly for a few days. Can you advise on what logs to check or configurations to adjust to troubleshoot the issue?

3 Replies

Avatar

Level 8

Hi @AEM_user25 

 

Are you doing any heavy activities on author environment? Is there any background activity are happening in your application? i mean scheduler, event handler etc.?

check your /bin/start.bat file  Check for these line:

if not defined CQ_JVM_OPTS set CQ_JVM_OPTS=-Xmx1024m -XX:MaxPermSize=256M -Djava.awt.headless=true -agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n

 

Try to increase the Xmx, MaxPermSize to 

CQ_JVM_OPTS=-Xmx2048m -XX:MaxPermSize=512M

 

Check your error.log, applicqtion specific logs.

 

Avatar

Level 2

I've just increased the Xmx, and MaxPermSize, I'll monitor and see if it's still causing an issue.

I checked my error.log but I don't see any errors out of it

Avatar

Employee Advisor

 

I would start at the very basics:

  • does the Java process still run?
  • can you do a "jstack <pid of the java process>"?
  • can you access the instance via jconsole?
  • can you access the OSGI webconsole?