Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Job timing out with the error "moving jobs to failedjobregistry (work-horse terminated unexpectedly) no PID returned" #256

Open
maevecnorton opened this issue Jan 25, 2021 · 0 comments

Comments

@maevecnorton
Copy link

I have read that that error message usually means some memory issue but that doesn't seem to be the case for me.
I have a scheduled job that runs forever where each run takes about 6 minutes to run. Scheduler.schedule function is called with interval set to 600 and timeout set to 600. The job gets queued every 600s which is fine but what seems to be happening is that my job seems to time out after 600 seconds of total execution time across ALL runs. Since each run is about 6 minutes, during my second run, the job times out and the job fails and it has the same error ever since.

Is this how timeout should work? What do I do if I don't want any timeout so that my scheduled job can actually run forever every 600 seconds?

If I set timeout to none, in redis monitor I see that timeout gets defaulted to 180. I guess I can set the timeout to something insanely long but that doesn't seem like a good solution and it will eventually hit the timeout.

Any help would be appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant