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

Add ability to limit memory usage by raw_exec driver #4914

Closed
tantra35 opened this issue Nov 23, 2018 · 3 comments
Closed

Add ability to limit memory usage by raw_exec driver #4914

tantra35 opened this issue Nov 23, 2018 · 3 comments

Comments

@tantra35
Copy link
Contributor

In nowadays nomad in raw_exec driver uses cgroup to kill full process group(#4350). If so it will be logical use cgroup, to limit task in raw_exec by resources as exec driver does

@preetapan
Copy link
Contributor

@tantra35 as you mentioned the exec driver does this already so we don't plan to make raw_exec work exactly like exec. It was designed for use cases where isolation is not needed.

@tantra35
Copy link
Contributor Author

@preetapan unfortunately exec driver doesn't allow to launch program as root, only nobody, but this doesn't allow to call setrlimit to increase RLIMIT_NOFILE for example

@github-actions
Copy link

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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants