You can definitely try those settings as well. It sort of depends on which memory space is running out.
It could possibly be the permgen space filling up. We won't know until we see the error messages and possibly after we add metrics logging. DW Sent from my Verizon Wireless BlackBerry -----Original Message----- From: denstar <[email protected]> Sender: [email protected] Date: Fri, 23 Jul 2010 16:50:45 To: <[email protected]> Reply-To: [email protected] Subject: Re: [Model-Glue] Re: Architecture question 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 -- 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
