[Building Sakai] JVM settings when switching to Java 6

Paul Dagnall dagnalpb at notes.udayton.edu
Mon Sep 12 06:38:20 PDT 2011


Thanks Seth.
Yes, we're still on the Solaris x86. I will look over those settings you
sent and see if they can improve the GC issues.
Much appreciated!

Paul


On Mon, Sep 12, 2011 at 9:16 AM, Seth Theriault <slt at columbia.edu> wrote:

> Paul Dagnall wrote:
>
> > We're running Sakai 2.6.x. Here are our current settings
> > that worked well on Java 5:
>
> Are you still on Solaris boxes? I am using these settings on
> some RHEL5 boxes running Sakai 2.6:
>
> # SAK-10159
> SAKAI_HTTP_AGENT="-Dhttp.agent=Sakai"
>
> # SAK-17425
>
> SAKAI_TOMCAT_OPTS="-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false"
>
> # JDK 1.6
> SAKAI_JDK16="-Dsun.lang.ClassLoader.allowArraySyntax=true"
>
> JAVA_OPTS="-d64 -Xmx6144m -Xms6144m -Xmn1g -XX:MaxPermSize=512m
> -XX:PermSize=512m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC
> -XX:+CMSClassUnloadingEnabled -XX:+DisableExplicitGC
> -Dsun.rmi.dgc.server.gcInterval=600000
> -Dsun.rmi.dgc.client.gcInterval=600000 -Dfile.encoding=utf-8
> -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -verbose:gc
> -Xloggc:/var/log/tcat/sakai/sakai_gc.log -XX:+PrintGCDetails
> -XX:+PrintGCTimeStamps ${SAKAI_SECURITY} ${SAKAI_HTTP_AGENT}
> ${SAKAI_TOMCAT_OPTS} ${SAKAI_JDK16}"
>
> Seth
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20110912/8151ccef/attachment.html 


More information about the sakai-dev mailing list