delayed_job icon indicating copy to clipboard operation
delayed_job copied to clipboard

Delayed job hangs when running work_off

Open suttree opened this issue 12 years ago • 0 comments

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...

suttree avatar Nov 18 '11 16:11 suttree