riju icon indicating copy to clipboard operation
riju copied to clipboard

Resource Limiting

Open elijahgives opened this issue 2 years ago • 2 comments

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

elijahgives avatar Feb 11 '23 22:02 elijahgives

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.

raxod502 avatar Feb 16 '23 02:02 raxod502

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.

Ignore Elijah, he's a troll brother

ericjze avatar Mar 09 '23 04:03 ericjze