Re: [LAU] memlock limits not set correctly?

From: Dominique Michel <dominique.c.michel@email-addr-hidden>
Date: Tue Jan 15 2019 - 23:38:50 EET

Le Sun, 13 Jan 2019 11:01:21 -0500,
Bill Gribble <grib@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@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@ghost:~$ groups
> grib cdrom floppy audio dip video plugdev staff netdev bluetooth
>
> grib@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.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
https://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Jan 16 00:15:02 2019

This archive was generated by hypermail 2.1.8 : Wed Jan 16 2019 - 00:15:02 EET