Skip to content

Resource usage limits #30

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

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Resource usage limits #30

wants to merge 5 commits into from

Conversation

migue
Copy link
Collaborator

@migue migue commented Jun 5, 2025

This patch is a working in progress where we propose the ability to spawn a new process into its own cgroup, providing the ability to limit the different set of resources it can consume (CPU, memory, ...)

The current implementation provides the ability to use the two existing implementations: cGroups V1 and the new unified hierarchy know as cGroups V2. If anyone is interested in learning more about this https://docs.kernel.org/admin-guide/cgroup-v2.html is a good resource

This is just a prototype I have put together to explore the potential benefits and drawbacks of this approach

@migue migue self-assigned this Jun 5, 2025
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

Successfully merging this pull request may close these issues.

1 participant