tobi / delayed_job

Database backed asynchronous priority queue -- Extracted from Shopify
http://tobi.github.com/delayed_job
MIT License
2.15k stars 1.25k forks source link

dj and god memory leak in rails application #56

Open luckydev opened 12 years ago

luckydev commented 12 years ago

We have delayed_job to handle background processing in our app. God monitors the more-memory-consuming DJ workers now and then and cut them off.

This setup has been working perfectly for months with daily deploys. Now today, suddenly all the workers once they are started consumes 400+ MB memory each. There were no deploys in the last few days.

What could have gone wrong? please help. The app is running on Ruby 1.9.2 with Rails 3.0.5.