Skip navigation
RK@CTT
Currently Being Moderated

Java Process Consuming 100% of Server CPU

Apr 18, 2012 11:16 AM

Tags: #java #cq5 #cpu #utilization #100%

Hi,

 

We have a new instance of CQ5 (version 5.4) running on a Windows 2003 SP2 Server. For some reason, which we can't determine, after a period of time a Java process on the system begins to consume 100% of the CPU and the system becomes totally unresponsive. Has anyone seen this before? Is there a fix for this?

 

RK         

 
Replies
  • Currently Being Moderated
    Apr 18, 2012 2:00 PM   in reply to RK@CTT

    Does the it eventually recover on it's own? It's possible that the JVM is doing full garbage collection.  How big is your max heap size?  I suggest to add some garbage collection debugging in the JVM_OPTS to see if it is Java's garbage collection or not.  Might as well check the heap too, to see if it's running our of memory.

     

    Example;

    -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -XX:+PrintTenuringDistribution -Xloggc:/tmp/gc.log -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/tmp

     

    Ron

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 19, 2012 10:12 AM   in reply to RK@CTT

    Hi Pat,

     

    For Windows, it should be in crx-quickstart/server/server.bat.  Look for the Memory settings:

     

    set JVM_MINHEAP=-Xms64m

    set JVM_MAXHEAP=-Xmx256m

    set JVM_PERMGEN=-XX:MaxPermSize=128M

     

    Also, you can add the garbage collection debugging parameters in this file:

     

    set JVM_OPTS

     

    Hope this helps.

    Ron

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 19, 2012 11:14 AM   in reply to Ron @ SFU

    Hello,

     

    Did you got chance to create day care ticket about this ? Thread dump with logs will help. Also see http://dev.day.com/content/kb/home/Crx/Troubleshooting/AnalyzeSlowAndB lockedProcesses.html to figure out what is blocking.

     

    Yogesh

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 19, 2012 12:07 PM   in reply to RK@CTT

    Hello,

     

    You need to have valid support contract to get Day Care access. Once contract is executed you would be given Daycare access that you can use to create additional account. Feel free to let us know if you need help.

     

    Yogesh

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points