Here is the "magic" settings for our Railo install (on JBoss): -Xms768m -Xmx768m -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:PermSize=128m -XX:MaxPermSize=128m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
(that's all on one line) I know this is almost reverse of what Dan said, but you may want to give it a shot. It was customized for an MG app. That's not really saying much, because every app has different metrics, and really, load testing (I used JMeter) is the only way to *really* come to the correct settings. Really really really. :) Sometimes a large heap will work against you-- the 768M actually performed *way* better than the closer to 1G setting did. Also, you didn't mention what JVM your running on, (unless I missed it) and this too can vastly change what is best. Also also, garbage collection is a *huge* factor in tuning your server-- you'll note some customized settings in the above to this regard. The GC settings are dependent on JVM version to some extent as well. Someday I'll get around to writing a "how to" for load testing specific to Railo, but you can use the articles by Mike Brunt (sp?) to get an idea of how to do it. That guy is a grade A bad ass. HIH, :Den -- Religion is the sigh of the oppressed creature, the heart of a heartless world, and the soul of soulless conditions. It is the opium of the people. Karl Marx -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en
