Hi Guys,
Does anyone know the batch job that cq instance ruuning on CQ6.1 at 04:00 am? Or do you have any idea?
Because of we cq server always occuped high cpu at 04:00am every day.
I see the error log it's no any error information, and also use the java tool "jstack" to analyze the stack it looks not useful.
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi
You can use Jconsole or Jtop (3rd party tools) to monitor all threads with high CPU usage.
Link:- http://www.onkarjoshi.com/blog/166/identifying-a-thread-with-high-cpu-usage-in-a-java-app/
Link:- http://code.nomad-labs.com/2010/11/18/identifying-which-java-thread-is-consuming-most-cpu/
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Have you confirmed that there is no scheduled jobs executed from project code at 4 AM?
Have you configured project specific log files or is there any other log file you have configured?
Views
Replies
Total Likes
Hi
You can use Jconsole or Jtop (3rd party tools) to monitor all threads with high CPU usage.
Link:- http://www.onkarjoshi.com/blog/166/identifying-a-thread-with-high-cpu-usage-in-a-java-app/
Link:- http://code.nomad-labs.com/2010/11/18/identifying-which-java-thread-is-consuming-most-cpu/
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
There may not be any error but do you see any info at 4:00AM regarding any scheduler ?? also check request.log and access.log for the same time.
Quite possibly, check if there is any backup and restore job scheduled during that time
As Kautuk mentioned, you can also use third party tools to analyze cpu usage aswell.
Regards,
Lokesh
Views
Replies
Total Likes
Hi
I would like to tell you about couple of KB article which would help you in future as well.
KB1:- https://helpx.adobe.com/experience-manager/kb/TakeThreadDump.html
//A thread dump is a list of all the Java threads that are currently active in a Java Virtual Machine (JVM).
How can I take thread dumps from a JVM on Unix or Windows?
KB2:- https://helpx.adobe.com/experience-manager/kb/AnalyzeUsingBuiltInProfiler.html
// How to analyze Some process are really slow, but not blocking.
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Views
Likes
Replies