Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zekrioca
10 months ago
|
parent
|
context
|
favorite
| on:
Landrun: Sandbox any Linux process using Landlock,...
How does one do resource control with Landrun, e.g., CPU, memory, I/O..?
turrini
10 months ago
|
next
[–]
Not directly, but I think you can run it with systemd:
systemd-run --user --scope -p MemoryMax=1G,IOReadIOPSMax=8000,CPUQuota=20%,<...> landrun ...
IshKebab
10 months ago
|
prev
[–]
You can't. It's only for filesystem and TCP sandboxing.
gnoack
10 months ago
|
parent
[–]
Exactly, for resource limits you can use setrlimit(2) or cgroups if needed.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: