mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2955] Limiting RAM with --rlimit-as #1846
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#1846
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 @JIGutierrez on GitHub (Sep 9, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2955
Hey, i'm trying to limit the memory usage of a program with firejail, however I'm getting an error:
I'm not sure if I did something wrong, couldn't find any info on this. Thanks in advance!
@chiraag-nataraj commented on GitHub (Sep 15, 2019):
Hmm, that works for me, both with
pythonspecifically and other programs more generally. If you runfirejail python path/to/file.py, does it work?@JIGutierrez commented on GitHub (Sep 16, 2019):
Yes, no problems running it.
@rusty-snake commented on GitHub (Sep 16, 2019):
With
firejail --noprofile --rlimit-as=...?Which distro? Which firejail version?
@smitsohu commented on GitHub (Sep 18, 2019):
Did you try to increase the number? 1 MB is certainly too small, for instance I need 28 MB address space on my system to just run the python interpreter.
@JIGutierrez commented on GitHub (Sep 18, 2019):
firejail v0.9.52 (apt)
running elementary OS 5.0
This is so obvious that I didn't consider it, and it worked haha. Apparently forgot how python works. Thank you!