2 ms·
How does one do resource control with Landrun, e.g., CPU, memory, I/O..?
by zekrioca 2y ago
How does one do resource control with Landrun, e.g., CPU, memory, I/O..?
- IshKebab 2y agoYou can't. It's only for filesystem and TCP sandboxing.
- gnoack 2y agoExactly, for resource limits you can use setrlimit(2) or cgroups if needed.
- deleted 2y ago[deleted]
- turrini 2y agoNot directly, but I think you can run it with systemd: systemd-run --user --scope -p MemoryMax=1G,IOReadIOPSMax=8000,CPUQuota=20%,<...> landrun ...