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

clean up oardocker cgroup on oardocker stop #27

Open
npf opened this issue May 6, 2015 · 3 comments
Open

clean up oardocker cgroup on oardocker stop #27

npf opened this issue May 6, 2015 · 3 comments
Assignees
Milestone

Comments

@npf
Copy link
Contributor

npf commented May 6, 2015

No description provided.

@npf npf added this to the asap milestone May 6, 2015
@npf npf changed the title clean up oardocker cgroup on destroy clean up oardocker cgroup on oardocker stop May 6, 2015
@npf
Copy link
Contributor Author

npf commented May 6, 2015

actually do on any "oardocker stop".

remove any subdir (no assumption on names) in the oardocker directories.

should be idempotent (do not report an error if call with nothing to remove)

@npf
Copy link
Contributor Author

npf commented May 11, 2015

I wrote a simple bash script that can display and clean cpusets -> top_cpuset.sh (see oar branch master-extensible-jobs).
I could be shipped as a oardocker sub command.
(it currently lacks the cleanup of the cgroup subsystems other then cpuset)

@npf
Copy link
Contributor Author

npf commented May 22, 2015

only the cpuset cgroup subsystem is cleaned currently.

clean others as well.

(using the same script file for both creation and clean-up would be wise)

@npf npf reopened this May 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants