-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Nomad do not clean old periodic tasks #10456
Comments
Hi @TheSpbra1n! This one is tricky! The log message you're seeing is about GC on the client node, where we clean up the allocation directory on the client. The But what I'm seeing in your |
Thanks for the answer.
|
Thanks for the jobspec @TheSpbra1n. That spec looks fine to me, which leads me back to wondering why the If you do a |
After
I think that "pending" count have a strange value. |
Will waiting 1.0.5, thanks! |
Thanks for that |
Hi @TheSpbra1n! Have you had a chance to see if 1.0.5+ fixes the issue for you? |
Doing some issue cleanup and I'm going to close this one out. If you do get a chance to test with Nomad 1.0.5+ or later and it doesn't fix the problem, please feel free to reopen. |
Thanks! |
Hi @tgross! We upgraded nomad to 1.1.2
Вut the problem remains:
Alloc status:
Children job count:
|
Re-opening since the problem persists in v1.1.2 |
This issue still seems reproducible in v1.4.2. |
Nomad version
Nomad v1.0.2 (4c1d4fc)
Operating system and Environment details
Codename: xenial
Issue
I set in config: JobGCThreshold=48h
But in "nomad status" I see a task that ended 6 days ago
Nomad Client logs (if appropriate)
In the clients logs, I see that the GC was running, but the allocation is actually still present:
The text was updated successfully, but these errors were encountered: