huh, systemd-run is really neat, you can do stuff like:$ systemd-run --user -S -p MemoryHigh=1000M -p MemoryMax=1100M
and get a shell inside which you can't use more than around 1G of RAM (but can use more swap)?
@jann oh! so like Solaris projects, but.... jankier?
@freya I mean, normally you'd configure these controls for services, in service files.
This is just the command line helper for "I want a quick one-off ephemeral service on which I can set all the same controls as on a service file". The config flags I'm setting turn into cgroup stuff at the kernel level.
@jann MemorySwapMax should work too if you want swap limit no?
@jmorris @jann there is WIP but so far not a lot of feedback: https://github.com/systemd/systemd/pull/39174
@pid_eins