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

Implement signal handling for submitting and waiting on batch jobs #3

Open
nh13 opened this issue Jun 4, 2020 · 1 comment
Open
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@nh13
Copy link
Member

nh13 commented Jun 4, 2020

See this comment) copied here:

One thought I had reading through this, given our first intended use case of issuing batch jobs from Snakemake and waiting on the, is whether we want to implement any signal handling? E.g. if a batch job is being submitted/run/waited-on and you ctrl-C (SIGINT) the process, should the python process die and leave the batch job around, or should it attempt to terminate the batch job(!)?

@nh13 nh13 added enhancement New feature or request help wanted Extra attention is needed labels Jun 4, 2020
@sstadick
Copy link
Contributor

sstadick commented Jun 4, 2020

Also detecting a spot instance shutdown, either on the host running this tool, or on a host a that one of it's jobs is running on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants