Yup! And I didn't read your previous email correctly, Dan. We actually suggested the same memory setting for the heap. :)
FWIW, the CMSClassUnloadingEnabled is probably what did the deed for us. Especially since apparently Railo has a garbage collection bug when under heavy load (already fixed for the next release). I say "apparently" because it hasn't bit us, when under heavy load, with the above settings. These rendered a super solid server. Months and months of uptime, with zero maintenance. Power failures are the only things I can think of that eventually force us to shut down (once the batteries are too low and the power hasn't come back on). It was hell until I tweaked things right tho. Any heavy load and WHAM! Down went the apps. And the problem wasn't specific to Railo. At first we were on CF8, and that's actually when I bit the bullet and started load testing and whatnot. Rolled out clusters, yadda yadda. Railo really blew me away tho. It took something that I thought was pretty zippy already, and just amped it through the roof. We didn't need half the nodes to handle the same load (from 4 to 2 ;)). The *real* problem is almost always poor code (lord knows that was our core problem), but with the tweaks, our crappy code has run like a freaking freight train since. Chug chug chug goes the choo-choo. The ultimate solution is to write better code though. Load testing is really key to doing so, too. Plus, it's super easy to load test things these days, compared to how it /used/ to be. Ouch. Now it's all, "Ahhhh". =) :Den -- Revolutions are the locomotives of history. Karl Marx On Fri, Jul 23, 2010 at 4:53 PM, wrote: > 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 -- 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
