-
Notifications
You must be signed in to change notification settings - Fork 9
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
What can cause the queue to be blocked ? #29
Comments
If you need to keep some completed jobs, then yes, the collection will grow indefinitely. I shouldn't think that's a problem though. Why do you need to keep some? If it's for logging purposes, then it may be an idea to make a separate collection for keeping logs. Normally if you resolve a job with
If you do have some async jobs, take a look at the async/await section of the docs. Do you have
If so, can you report what's happening in the logs when the queue becomes blocked? When the server is started, or when all due jobs are completed, the dominator should look for the next job and set a timer. This will appear in the logs as:
Then, when that job is executed you should see:
Then when it's completed (with
Can you see logs like this?
The job queue can only run on one host at a time, and if the jobs host stops then it can take some time for one of the other host(s) to decide to take control of the queue. This is configured by the
If none of this helps, can you share some of your job definition and job schedulling code, plus |
Thank you so much for this detailed answer. Here are mines I some of them because it is important for our business to demonstrate data that we handle, I can duplicate this in another collection but I do not think this can caused a problem as you mentionned
Around 200
No, either all are blocked or all are running
It depends, sometimes it takes ages
Yes lot of them
I had not but I have now, I have lot of
Do you have multiple hosts in your galaxy setup?
Yes all jobs except one should run ASAP
No Of course since this post everything works great, I will wait for next blocking to send you the logs Thanks again |
Hello,
I am running my app on galaxy, jobs are becoming more and more important for the apps ( around 100 000 per days )
I can erase some, but I need to keep others, so that jobs_data collection is around 5GB and growing, can this be a problem ?
The size of the pending jobs keeps growing and I do not understand why there is no polling of jobs.
The jobs dominator is ok, the date is always closed to the current time.
I know this question is vague, I am trying to find a starting point
Thanks
The text was updated successfully, but these errors were encountered: