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

Use the timeout command to limit runtime of client in cron script #41

Open
kylape opened this issue Nov 22, 2017 · 2 comments
Open

Use the timeout command to limit runtime of client in cron script #41

kylape opened this issue Nov 22, 2017 · 2 comments

Comments

@kylape
Copy link
Member

kylape commented Nov 22, 2017

We want to have a hard limit to the amount of time the client can run in case of a runaway subprocess.

@kylape
Copy link
Member Author

kylape commented Feb 2, 2018

Done for RHEL 7 via a watchdog timer (10m timeout) in #47

@d-hat
Copy link

d-hat commented Feb 6, 2018

Adding a comment by the Popen call in run_phase to make it clear that runtime is limited by the unit file is probably a good idea, at least to save future devs redunant work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants