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

lx: cgroups: echo 0 > tasks not supported #966

Open
ismell opened this issue Dec 2, 2020 · 1 comment
Open

lx: cgroups: echo 0 > tasks not supported #966

ismell opened this issue Dec 2, 2020 · 1 comment

Comments

@ismell
Copy link

ismell commented Dec 2, 2020

https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v1/cgroups.html#attaching-processes

 printf "%d" 0 > "$cgroup/tasks"

This should move the current task into the cgroup.

Currently this fails:

 printf "%d" 0 > /sys/fs/cgroup/openrc/tasks 
-bash: printf: write error: No such process
@sjorge
Copy link
Contributor

sjorge commented Jan 22, 2021

I don’t think lx has support for cgroups at the moment.

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