-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
EXECUTION_SWEEP job queue is growing #21283
Comments
You mean the job queue is growing seen from the Jobservice Dashboard? Did you stop and then resume the EXECUTION_SWEEP queue after upgrade? |
Yes, that's what I mean. I have now stopped the EXECUTION_SWEEP - this emptied the queue. But I believe a collegue did do this after the update. I guess tomorrow I can see if tonight's job completed. |
Can you check the jobservice's task logs, the current execution frequency is once a day, and if there is still a buildup, it means that running that task once will take more than a day? |
Indeed, the job queue keeps growing. Probably no EXECUTION_SWEEP finishes correctly (screenshot below). I see a number of different errors in the jobservice container logs. Perhaps the most recurring variant is this type (searching for the job id 0598b5a1b4eef76e5b22b598@1725235200 results in many repeating errors):
|
Can you please check the size of the task and execution table?
Maybe there is a execution_sweep job is running in background and blocking subsequent job.
Then restart the Harbor, it could fix the dangling job blocking the subsequent job. |
select count(1) from task; -> 827434 In our case Harbor runs on Kubernetes. I want to schedule bringing the service down this Friday to try the rest of your suggestion. |
After running "flushdb" from redis-cli in the redis container it appears last night's EXECUTION_SWEEP job completed successfully. Thanks for the help, @stonezdj! |
Closing because fixed. |
Hi,
Duplicates closed issue: #20255
Version 2.12.0 has reduced the frequency of the cron job to once per day (from once per hour), but we are still seeing a growing queue.
The text was updated successfully, but these errors were encountered: