Everything posted by tamizhgeek
tamizhgeek posted a topic in FusionCharts and Ruby on RailsHi, 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?