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

Resource Limiting #176

Open
elijahgives opened this issue Feb 11, 2023 · 2 comments
Open

Resource Limiting #176

elijahgives opened this issue Feb 11, 2023 · 2 comments

Comments

@elijahgives
Copy link

Hello! I am making this issue to ask if there’s a way to limit resources per session?
e.g one session can only use x amount of memory, storage

@raxod502
Copy link
Member

Total resource consumption is limited by system-wide user session cgroup, configured here: https://github.com/radian-software/riju/blob/main/packer/riju.slice

Per-session resource consumption would be configured here, by adding additional command-line arguments to docker run. I removed this because my current budget means Riju has a very resource-constrained environment and subdividing the resources any more than needed makes many languages unusable.

@ericjze

This comment was marked as abuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants