That did the trick, thank you!
I had to change both /etc/systemd/user.conf and /etc/systemd/system.conf
Am Mo., 14. Juni 2021 um 13:35 Uhr schrieb Thiago Macieira <
On Sunday, 13 June 2021 15:02:52 PDT Thiago Maciel wrote:
> Hi there,
> I am trying to increase the memory lock limit for my set up here.
> I've done the usual drill to set this up:
> - copied common-session from /usr/share/pam.d to /etc/pam.d/
> - added username - memlock unlimited to /etc/security/limits.conf
> - added session required pam_limits.so conf=/etc/security/limits.conf
> - rebooted
> - checked with ulimit -l, but I still got the default value.
Pretty sure those limits are set by systemd, not PAM. So check
/etc/systemd/user.conf (man systemd-user.conf).
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel DPG Cloud Engineering