Hi,
I am in the process of setting up Jboss Server in a clustered mode using Jboss 4.2.3 and
portal 2.6.7.
Just been playing around with the memory settings and wanted to see if any of you have any
opinion on the memory settings i currently have.
I have 2 64 bit servers running Java 1.5.0.19 and with a RAM of 24G on Centos OS
This is what i have currently done.
1. Setup OS to use large/huge TLB. I think the sys admin has set this up to 18G.
2. i have been playing around with the heap/memory settings and this is what i currently
have:
#Memory Settings
JAVA_OPTS=" -d64 -Dsun.rmi.dgc.client.gcInterval=1800000
-Dsun.rmi.dgc.server.gcInterval=1800000 -Xms15g -Xmx15g -XX:PermSize=1g -XX:MaxPermSize=1g
-XX:ReservedCodeCacheSize=256m -XX:NewSize=6g -XX:MaxNewSize=6g -XX:+UseLargePages"
#Garbage Collector settings
JAVA_OPTS="$JAVA_OPTS -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled
-XX:+CMSClassUnloadingEnabled -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC
-XX:MaxGCPauseMillis=500 -XX:+CMSIncrementalMode"
#extra settings
JAVA_OPTS="$JAVA_OPTS -server -Xss128k -Djboss.serverPeerID=$ServerPeerID
-Djboss.partition.name=$partitionName
-Dportal.hibernate.cache.partition.name=$hibernateCache -verbose:gc -XX:+PrintGCDetails
-XX:+PrintGCTimeStamps -Xloggc:/var/log/jboss/jvmgcc/gcc.txt "
Does any of you have any suggestion on the above settings ?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235602#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...