[systemd-devel] Limit resources of a group of users

Seva Epsteyn seva at sevatech.com
Fri Feb 28 21:38:21 UTC 2025


Hi,

I am trying to find a way to limit the combined resources of some, but not
all, users. For example all non root users should be limited to 90% of
memory.

I can drop in config via user.slice.d which limits all users combined, or
user-.slice.d which limits each user separately, but can not figure out a
way to limit all non root users or say users in a group 'foo'.

Seva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20250228/3c090fd4/attachment.htm>


More information about the systemd-devel mailing list