[opencms-dev] Question about best configuration JAVA_OPTS for OpenCms in production

Deiverson Silveira deiverson at solutioncms.com
Tue Jul 5 22:06:31 CEST 2011


Hi list,

I wonder what the best configuration JAVA_OPTS do you recommend for use the
application server to the environment production in OpenCms.

I have tested several, and I'm currently using basic this:
set JAVA_OPTS=%JAVA_OPTS%  -Xmx512m -Xms512m -Xmn256m -Xss128k
-XX:+UseParallelGC -XX:ParallelGCThreads=20
-XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000
or this?
-Xmx3550m -Xms3550m -Xmn2g -Xss128k -XX:ParallelGCThreads=20
-XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=8
-XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 -XX:+AggressiveOpts

I am trying to understand the settings that best fit the characteristics of
the type of project webportal with OpenCms, find default for projects:
http://java.sun.com/performance/reference/whitepapers/tuning.html

Regards,

Deiverson Silveira

-- 
*
www.solutioncms.com
The Brazilian
Official Provider OpenCms
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110705/f16151c3/attachment.htm>


More information about the opencms-dev mailing list