DelayedDelta gets stuck without reason or output

antti's Avatar

antti

18 Feb, 2014 07:35 PM

(Sorry if this becomes a double post, feel free to delete the duplicate. I thought I posted this once already, but couldn't find it and didn't receive any notice, so posting again.)

I'm using Flying Sphinx with delayed delta, and delayed job worker at Heroku tends to get stuck with the delayed_delta job. The job gets locked in the DB but there's no output to log and it's never finished, and the job queue gets stuck as I have only one worker.

This can happen few times a day and is really not acceptable as whole background processing stops. Is there anyway to get any output or status of the delayed_delta job? Now I only see the locked_at and locked_by in the DB and no output to the log.

When I shutdown the worker and start it again, the delayed delta task goes through without problem. So this happens only occasionally, but then hangs the whole delayed_job.

I'm thankful for any advice!

Best,
Antti Virolainen

  1. Support Staff 1 Posted by Pat Allan on 18 Feb, 2014 10:18 PM

    Pat Allan's Avatar

    Hi Antti

    That certainly sounds annoying - but I've not heard of this problem before.

    Can you let me know what versions of flying-sphinx, thinking-sphinx and ts-delayed-delta you're using?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac