Isnor Creative
Isnor Creative Blog
Ruby, Ruby on Rails, Ember, Elm, Phoenix, Elixir, React, Vue

Mar 25, 2012

RefineryCMS / Dragonfly image from url gotcha

I got a curious bug ticket recently involving an install of RefineryCMS that used Dragonfly’s ability to add an image from url.

The feature was working fine except when the client attempted to add one of their own image urls, at which point they received an error page.

After some debugging I discovered that the default Webfaction install of Rails/Passenger/Nginx specifies a max of one process, which meant that Rails was hanging when in attempted to access a resources that was currently in queue due to only one concurrent process being available at a time. Bumping the Passenger conf at /home/[user]/webapps/[app]/nginx/conf/nginx.conf to 2 available processes solved the problem….


I am available for Ruby on Rails consulting work – get in touch to learn more.

Gordon B. Isnor

Gordon B. Isnor writes about Ruby on Rails, Ember.js, Elm, Elixir, Phoenix, React, Vue and the web.
If you enjoyed this article, you may be interested in the occasional newsletter.

I am now available for project work. I have availability to build greenfield sites and applications, to maintain and update/upgrade existing applications, team augmentation. I offer website/web application assessment packages that can help with SEO/security/performance/accessibility and best practices. Let’s talk

comments powered by Disqus