Join GitHub today
User slice does not enforce memory limit. #3945
NOTE: Do not submit anything other than bug reports or RFEs via the issue tracker!
systemd version the issue has been seen with
NOTE: Do not submit bug reports about anything but the two most recently released systemd versions upstream!
In case of bug report: Expected behaviour you didn't see
I expected a user process launched in a user slice with
In case of bug report: Unexpected behaviour you saw
Process started with
In case of bug report: Steps to reproduce the problem
Given that the configured limit is for 10KiB, I would expect the process to fail with Out of Memory or just
@zstewar1 ok, I've found it, first of all need to create slice like as following:
then you can run program in that slice and memory accounting will be enabled:
you can set memorylimit to 100M and try to open google maps