Tomcat optimizations

Are there any recommended tomcat optimizations for running a Jruby rails
app
under Tomcat ? been getting some heap memory errors and figured i would
ask
the community as I go through some tuning and tweaking of memory
allocation.

Thanks
Adam

Tomcat has a history of memory management problems. Try to run your
application on Jetty and see if you find the same issues, if you do,
it’s probably something wrong with your code.

On Tue, Jun 24, 2008 at 8:36 PM, AD [email protected] wrote:

Are there any recommended tomcat optimizations for running a Jruby rails app
under Tomcat ? been getting some heap memory errors and figured i would ask
the community as I go through some tuning and tweaking of memory allocation.

Thanks
Adam


Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/
(en)
João Pessoa, PB, +55 83 8867-7208


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Thanks, not exactly the response I was looking for, though. Enterprise
standard here is to run under Tomcat which is why I am leveraging Jruby
(to
fit within enterprise standards of our Application server) and was just
seeing if anyone had some recommended optimizations for using Jruby with
Tomcat.

I am currently using the default configuration of Tomcat which is fairly
unaggressive in memory allocation so I wanted to get some feedback
before
moving forward with my customizations.

Adam

On Tue, Jun 24, 2008 at 9:47 PM, Maurício Linhares <

Hi Adam,
i run jruby scipts in my regular java apps on tomcat without problems,
things You can experiment with are:
-Xms
-Xmx
-XX:MaxPermSize
and for sure turn on -XX:+PrintGCDetails, but all of these are jdk
related not tomcat related.
Also You can read more about it here:

Best greetings,
Paweł Wielgus.