I have an application that does some image processing using rmagick and imagemagick. This image processing was being done in background job via resque and redis. The problem is that even just one worker who is doing image processing is eating up crazy huge amount of cpu. I have done some research and recompiled imagemagick with open mp disabled. Is there any other thing I could do to make the resource usage reasonable?
I am using a high cpu amazon instance with ubuntu 10.04 as the operating system.
It seems I have resolved the issue by doing the following:
I removed all traces of the ubuntu installed imagemagick packages.
I then uninstalled all the ubuntu package that resulted from the above query. After that I recompiled imagemagick with open mp disabled and reinstalled the rmagick gem.