Delayed job hangs when running work_off #52

Open
suttree opened this Issue Nov 18, 2011 · 0 comments

Comments

Projects
None yet
1 participant

suttree commented Nov 18, 2011

Hi,

When running the delayed_job rake task, it appears that delayed_job hangs without executing any of the jobs.

The rake task executes and initializes, but as soon as it gets into the work_off method it does nothing more. There's no database activity, nor any cpu activity.

Killing the rake task does however cause the jobs to run as the process cleans up after itself, so it seems like nothing happens in the rake task until it is forcibly stopped.

Has anyone experienced anything similar? We're not running multiple databases and there are no obvious errors appearing in any log files.

Also, running Delayed::Job.work_off in the rails console works fine, so it seems to be a problem with running that command via rake...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment