Setting thread pool size for glassfish gem? (multithreaded)

I’ve been using the glassfish gem for a few weeks now, running in
multithread mode together with Rails 2.2.2 and JRuby 1.3.1.

When applying a performance testing load, it seems as if there are never
more than 5 http worker threads created, even when the load is increased
(and the application therefore suffers from degraded response times).

I’ve done some hunting around, but there doesn’t seem to be much
documentation; But it seems that the default setting that the glassfish
gem sets is a max thread pool size of 20.

Is anyone else out there using this configuration? And more
importantly, does anyone know why this happens, and how to actually
increase the thread count?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs