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

Don't let command run forever if not intentional #292

Open
ypujante opened this issue Apr 12, 2015 · 2 comments
Open

Don't let command run forever if not intentional #292

ypujante opened this issue Apr 12, 2015 · 2 comments
Labels

Comments

@ypujante
Copy link
Member

Right now if an agent is set to execute a never ending command (like top or tail -f xxx), then the command never ends even if the user is no longer "watching". The console should have a default timeout (optional) to abort a command that nobody is watching unless it was marked as "ok to run forever".

@sodul
Copy link
Contributor

sodul commented Apr 12, 2015

Ideally we should be able to set this per fabric, or even better allow an agent's variables to set the timeout:

  • per console setting (configured in the console's regular settings file)
  • per fabric setting (configured in the console admin UI)
  • per agent setting (configured in the agent's property file or env variables)

Thanks!

@ypujante
Copy link
Member Author

The "per agent" setting is a lot harder to implement. If the console needs to detect that "nobody" is watching for some timeout, the issue is that it does not have access to the agent defined timeout. Unless you were thinking about a different implementation of course.

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

No branches or pull requests

2 participants