tamizhgeek

Fusion Charts Image Export With Ruby On Rails 2.3 - Mongrel Hangs

Recommended Posts

Hi,

 

We use fusion charts over rails 2.3.2 and ruby 1.8.6, served with mongrel.

 

We have setup server side export of charts with rmagick. When we try to export any chart, the mongrel's CPU load shoots up rapidly and then returns to normal after the generated image is served.

This is when only one request is made to export the chart.

 

We run 8 mongrels for concurrency behind a load balancer. When we make more than 3 or 4 concurrent requests to export the chart as images, then all the 3 or 4 mongrels are peeking at

high CPU usage and gets stuck. The load never becomes less and whole server becomes unreponsive.

 

We suspect some kind of deadlock happening in the fusion charts when accessing the rmagick gem. Can someone please guide us where it is going wrong?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now