Hello guys,
I've been trying to deploy a Rails app to a solaris VPS (with 256mb
available), first, i was having lots of "out of memory errors", the
app just didn't run, so i configured the app to have just one
instance, now i get this:
2008-05-15 22:11:05.978::INFO: jetty-6.1.9
2008-05-15 22:11:05.061::INFO: Deploy
/home/gnm7rcaa/rails/customerfu/releases/20080515212756/config/jetty/contexts/application.xml
->
org.mortbay.jetty.webapp.WebAppContext@dc57db{/,/home/gnm7rcaa/rails/customerfu/releases/20080515212756/vendor/plugins/jetty_loader/jetty-6/../../../../tmp/application.war}
2008-05-15 22:11:05.03::INFO: Extract
jar:file:/home/gnm7rcaa/rails/customerfu/releases/20080515212756/tmp/application.war!/
to
/home/gnm7rcaa/rails/customerfu/releases/20080515212756/tmp/exploded_war/webapp
2008-05-15 22:11:11.282::INFO: NO JSP Support for /, did not find
org.apache.jasper.servlet.JspServlet
2008-05-15 22:11:14.678:/:INFO: Info: using runtime pool timeout of 30
seconds
2008-05-15 22:11:14.679:/:INFO: Warning: no initial runtimes specified.
2008-05-15 22:11:14.679:/:INFO: Warning: no max runtimes specified.
2008-05-15 22:11:14.732::INFO: Started
SelectChannelConnector@0.0.0.0:3000
My warble.rb has the following 2 lines:
config.webxml.pool.maxActive = 1
config.webxml.pool.minIdle = 0
The server is started but doesn't answers any requests.
Am I in a lost cause and i should get more memory of is there somethng
else that i'm missing.
--
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) |
http://codeshooter.wordpress.com/ (en)
João Pessoa, PB, +55 83 8867-7208
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
on 16.05.2008 00:44
on 16.05.2008 01:15
Just a wild guess here, to have just one instance, you need: config.webxml.pool.maxActive = 1 config.webxml.pool.minIdle = 1 Rich On Thu, May 15, 2008 at 3:43 PM, MaurÃcio Linhares
on 16.05.2008 04:36
On Thu, May 15, 2008 at 6:15 PM, Rich Manalang <rich.manalang@gmail.com> wrote: > Just a wild guess here, to have just one instance, you need: > > config.webxml.pool.maxActive = 1 > config.webxml.pool.minIdle = 1 > And if you're using warbler 0.9.9 (looks like you are), you'll want config.webxml.jruby.min.runtimes = 1 config.webxml.jruby.max.runtimes = 1 instead. /Nick --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email