Re: memlock limits not set correctly?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Sun, 13 Jan 2019 11:01:21 -0500,
Bill Gribble <grib@xxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user




[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux