[systemd-devel] Per user limit defaults in systemd.conf

Joshua Miller joshuamiller01 at gmail.com
Tue Sep 1 15:57:11 UTC 2020


On Tue, Sep 1, 2020 at 7:30 AM Lennart Poettering <lennart at poettering.net>
wrote:
> Anyway, do you want this for login users or for system services?
> Initially your reference to User= suggests the latter, but your
> reference to PAM suggests the former. What is it now?

I'm looking at system services; sorry for conflating the two.

In this case, I'd specifically like to set MEMLOCK.  It's got the property
of being accounted at the user level,
but the limit is enforced at the process level, which means if multiple
system services running
as the same user have different limits, the service with the lesser limit
can break.

Thanks,
Joshua Miller
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20200901/83213d70/attachment.htm>


More information about the systemd-devel mailing list