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

Apply resource constraints to existing user session #1

Open
yunchih opened this issue Sep 29, 2017 · 1 comment
Open

Apply resource constraints to existing user session #1

yunchih opened this issue Sep 29, 2017 · 1 comment

Comments

@yunchih
Copy link
Owner

yunchih commented Sep 29, 2017

The current implementation only attach CGroup resource constraints to new user session.
Still need to attach the same constraints to user session already present when resrc starts.

Specifically, invoke the DBUS endpoint org.freedesktop.systemd1.Manager.ListUnits defined in here, extract user sessions and apply constraints over them.

@yunchih
Copy link
Owner Author

yunchih commented Oct 3, 2017

b022d24 is an attempt to do so. Testing remains.

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

1 participant