We have been running delayed job in development mode successfully for a few months now (we have not yet released this app to production). We haven't noticed any issues until recently, but they might have gone un-noticed for a while. We recently upgraded some gems, so that may have something to do with it.
Now, whenever delayed job is given a job, it immediately kills the worker daemon with no explanation. Running script/delayed_job status gives us:
pid-file for killed process 1143 found (/appPath/tmp/pids/delayed_job.pid), deleting.
delayed_job: no instances running
The strange thing is that it works fine when it is not daemonized by running script/delayed_job run
What can we do to debug this issue?
Gems:
rails 3.2.7
mongoid 3.0.3
delayed_job 3.0.3
delayed_job_mongoid 2.0.0