cancel
Showing results for 
Search instead for 
Did you mean: 

alfresco using over 90%cpu on idle all the time 4.2.c

sharifu
Confirmed Champ
Confirmed Champ
i am running centos 6 64bit with 8gb ram. alfresco version 4.2.c. contentstore is over 200GB. I have customised the following and allocated java with the following ram


export JAVA_OPTS="-server -Xms2G -Xmx3G -XX:MaxPermSize=512M -Xss1024k -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:CMSInitiatingOccupancyFraction=80 -XX:NewSize=1G -Dalfresco.home=/opt/alfresco-4.2.c -Dcom.sun.management.jmxremote=true -Djava.rmi.server.hostname=172.16.0.21 -Dsun.security.ssl.allowUnsafeRenegotiation=true"


what is alfresco doing to use up all the ram on idle constantly.
3 REPLIES 3

loftux
Star Contributor
Star Contributor
Unless you have lot of other things running (you shouldn't, use a server dedicated to Alfresco), try increasing to -Xmx6G (you said you had a total of 8, so why not use as much as possible).

You can also check if it is the java process that consumes, sometimes it is Libre Office (soffice.bin). I've seen it get stuck in transformations, just kill it and see if it helps. You can use this script to start/stop Libre Office without restarting Alfresco https://github.com/loftuxab/alfresco-ubuntu-install/blob/master/scripts/libreoffice.sh

sharifu
Confirmed Champ
Confirmed Champ
I have stopped soffice and increased ram to 6gb still no change.

sharifu
Confirmed Champ
Confirmed Champ
i have just noticed high cpu usage comes into play when replication job starts.