[LAU] memlock limits not set correctly?
Dominique Michel
dominique.c.michel at gmail.com
Tue Jan 15 22:38:50 CET 2019
Le Sun, 13 Jan 2019 11:01:21 -0500,
Bill Gribble <grib at billgribble.com> a écrit :
> This has just popped up on my audio machine and I am not sure
> what is going on. It's probably a change somewhere in PAM or
> GDM config. If anyone knows what's up I would appreciate a clue.
>
> Thanks!
> Bill Gribble
>
> # I would get -EAGAIN if the segment was too big... what's the limit?
> grib at ghost:~$ ulimit -l
> 65536
On an openrc gentoo system, I get:
# ulimit -l
unlimited
>
> # What? Just 64MB? That explains the error,
> # but I thought audio group had unlimited memlock
> grib at ghost:~$ groups
> grib cdrom floppy audio dip video plugdev staff netdev bluetooth
>
> grib at ghost:~$ grep memlock /etc/security/limits.d/audio.conf
> @audio - memlock unlimited
# cat /etc/security/limits.d/40-audio.conf
@audio - rtprio 99
@audio - memlock unlimited
@audio - nice -5
Cheers,
Dominique
--
If you have a problem and you are not doing anything to fix it, you are
at the heart of the problem.
More information about the Linux-audio-user
mailing list