cq6.1 consuming high cpu at 04:00 am | Community
Skip to main content
Level 3
January 20, 2016
Solved

cq6.1 consuming high cpu at 04:00 am

  • January 20, 2016
  • 4 replies
  • 1581 views

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.

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

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

4 replies

edubey
Level 10
January 20, 2016

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?

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
January 20, 2016

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

Kautuk Sahni
Lokesh_Shivalingaiah
Level 10
January 20, 2016

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

kautuk_sahni
Community Manager
Community Manager
January 22, 2016

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

Kautuk Sahni