-
Notifications
You must be signed in to change notification settings - Fork 2k
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
periodic jobs disappear after awhile #1013
Comments
@carlsverre Can you please explain what you mean by jobs disappearing? Once a job is run, Nomad will garbage collect it after some time. Also, what does |
I thought the idea of a periodic job is to continue to run periodically? Maybe I misunderstand the feature? When I register the job in nomad it runs every 10 minutes for some amount of time (seemingly random) and then the main job I guess is garbage collected and the periodic job never is scheduled to run again. Here is my status output after the job has "disappeared":
As you can see, the original "expire-check" job has disappeared from nomad as if it was garbage collected. Maybe the garbage collector doesn't properly handle periodic batch jobs? |
If it isn't clear - by goal is to run my expire-check job every 10 minutes forever. |
@carlsverre Oh, I see what you are saying are now. It's probably a bug. We will fix this for 0.3.2, thanks for reporting. We hope to get the release out very soon. |
+1 I'm seeing this too |
This may already be fixed in master. It would be great if one of you could build and verify. Thanks |
I'll try it out the latest master |
Seems it's fixed using version: Nomad v0.3.2-dev ('52edfe3a4e0ae76447c6c69198d7fa955beb748c+CHANGES') |
Thanks for testing that @preichenberger! I am hoping to wait for the 0.3.2 release if possible but will upgrade if thats going to be pretty far out. @diptanu any idea when that is landing? |
@carlsverre Should be in less than a week. |
thanks dadgar! |
I'm seeing this behavior too, glad it's fixed! |
I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues. |
Nomad version
Nomad v0.3.1
Operating system and Environment details
debian 8.3
Linux ip-10-0-3-181 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4 (2016-02-29) x86_64 GNU/Linux
Issue
After a number of runs periodic jobs disappear from nomad status and stop running. For example this is my nomad status:
Reproduction steps
Run a periodic job with the following config:
Job file (if appropriate)
The text was updated successfully, but these errors were encountered: