AnsweredAssumed Answered

alfresco4 cpu usage

Question asked by sharifu on Aug 2, 2012
Latest reply on Aug 3, 2012 by afaust
I have set up alfresco 4 on centos 64bit. allocated 8gb ram with 2 cpu's
the server is dedicated jus tfor alfresco
Over the past month the cpu usage has increased by 25%

Can some one help me pinpoint why?


VM summary from jconsole



VM Summary
Thursday, 2 August 2012 11:53:07 o'clock BST

Connection name: 
controlRole@service:jmx:rmi:///jndi/rmi://hector.woking:50500/alfresco/jmxrmi
Virtual Machine: 
Java HotSpot(TM) 64-Bit Server VM version 17.1-b03
Vendor: 
Sun Microsystems Inc.
Name: 
26378@hector
Uptime: 
62 days 18 hours 35 minutes
Process CPU time: 
22 days 8 hours 29 minutes
JIT compiler: 
HotSpot 64-Bit Server Compiler
Total compile time: 
8 minutes

Live threads: 
    334
Peak: 
    399
Daemon threads: 
    299
Total threads started: 
159,604
Current classes loaded: 
32,843
Total classes loaded: 
38,693
Total classes unloaded: 
 5,850



Current heap size: 
1,823,115 kbytes
Maximum heap size: 
3,040,896 kbytes
Committed memory: 
3,040,896 kbytes
Pending finalization: 
0 objects
Garbage collector: 
Name = 'ParNew', Collections = 211,823, Total time spent = 6 hours 32 minutes
Garbage collector: 
Name = 'ConcurrentMarkSweep', Collections = 547, Total time spent = 1 hour 9 minutes

Operating System: 
Linux 2.6.18-194.17.1.el5
Architecture: 
amd64
Number of processors: 
2
Committed virtual memory: 
5,571,744 kbytes
Total physical memory: 
8,245,320 kbytes
Free physical memory: 
  395,204 kbytes
Total swap space: 
8,385,920 kbytes
Free swap space: 
8,385,816 kbytes

VM arguments: 
-Djava.util.logging.config.file=/opt/alfresco-4.0.d/tomcat/conf/logging.properties -Xms2G -Xmx3G -XX:MaxPermSize=512M -Xss1024k -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:CMSInitiatingOccupancyFraction=80 -XX:NewSize=1G -Dalfresco.home=/opt/alfresco-4.0.d -Dcom.sun.management.jmxremote=true -Djava.rmi.server.hostname=172.16.0.21 -Dsun.security.ssl.allowUnsafeRenegotiation=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/alfresco-4.0.d/tomcat/endorsed -Dcatalina.base=/opt/alfresco-4.0.d/tomcat -Dcatalina.home=/opt/alfresco-4.0.d/tomcat -Djava.io.tmpdir=/opt/alfresco-4.0.d/tomcat/temp
Class path: 
/opt/alfresco-4.0.d/tomcat/bin/bootstrap.jar
Library path: 
/opt/alfresco-4.0.d/java/jre/lib/amd64/server:/opt/alfresco-4.0.d/java/jre/lib/amd64:/opt/alfresco-4.0.d/java/jre/../lib/amd64:/usr/local/apr/lib:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
Boot class path: 
/opt/alfresco-4.0.d/tomcat/endorsed/serializer.jar:/opt/alfresco-4.0.d/tomcat/endorsed/xalan.jar:/opt/alfresco-4.0.d/java/jre/lib/resources.jar:/opt/alfresco-4.0.d/java/jre/lib/rt.jar:/opt/alfresco-4.0.d/java/jre/lib/sunrsasign.jar:/opt/alfresco-4.0.d/java/jre/lib/jsse.jar:/opt/alfresco-4.0.d/java/jre/lib/jce.jar:/opt/alfresco-4.0.d/java/jre/lib/charsets.jar:/opt/alfresco-4.0.d/java/jre/classes

Outcomes