mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #49] Question: can firejail restrict the amount of RAM a program is using? #27
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pitchforks on GitHub (Aug 31, 2015).
Original GitHub issue: https://github.com/netblue30/firejail/issues/49
subj
@netblue30 commented on GitHub (Aug 31, 2015):
You would need to set up a Linux control group (https://www.kernel.org/doc/Documentation/cgroups/cgroups.txt) and set a memory limit. Then, you pass the tasks file to firejail. Example, assuming your cgroup is in /sys/fs/cgroup/g1 you will run:
@pitchforks commented on GitHub (Sep 1, 2015):
Thanks.
Adding for reference: Linux control groups support, --cgroup option was added in version 0.9.20.