Tomcat CPU spikes in Jruby web app

P

Prachi Tripathi

Hi,

We have a Jruby on rails application deployed in tomcat. Our Jruby
version is 1.5.1 and tomcat version is 6.0.26. However with a simple app
also the app server CPU is showing 100% utilization for a considerable
amount of time.

We also eliminated db queries , just to eliminate the db layer as a
susppect, however still there was considerable CPU utilization on the
app server. Our database is PostgreSQL version 1.8.4

Anyone has any ideas what could be happenning?
 
C

Charles Oliver Nutter

There's actually a bug similar to this that should be fixed in JRuby
1.5.5 and the upcoming 1.6. Can you try to update and see if the
problem improves?
 
P

Prachi Tripathi

Hi,

Thanks for ur prompt reply.

Jruby 1.6 is still in dev right? When will it be released for production
use? Our app has been deployed in production. So this is a production
issue. So what do u recommend, upgrading to 1.5.5?
 
C

Charles Oliver Nutter

Yes, I would recommend upgrading to 1.5.6. If you are using OpenSSL,
make sure you're on the latest jruby-openssl gem as well.

Some of the issues you mention have been fixed on the 1.5 branch, and
are in 1.5.6. As for JRuby 1.6, we hope to have at least RCs out this
month and a final version soon after. If you have cycles to test a
development build of 1.6, you can go to http://ci.jruby.org/snapshots
to get one.

- Charlie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,965
Messages
2,570,148
Members
46,710
Latest member
FredricRen

Latest Threads

Top