[LAU] memlock limits not set correctly?

Michael Jarosch riotsound at riotmusic.de
Wed Jan 16 23:02:27 CET 2019


Am Dienstag, den 15.01.2019, 22:38 +0100 schrieb Dominique Michel:
> Le Sun, 13 Jan 2019 11:01:21 -0500,
> Bill Gribble <grib at billgribble.com> a écrit :
> 
> > # 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,

I also tried this on my laptop, a debian testing system:
:~$ ulimit
unlimited

:~$ ulimit -l
65536

Can someone explain the difference?
/etc/security/limits.d/audio.conf says:

@audio   -  rtprio     95
@audio   -  memlock    unlimited


More information about the Linux-audio-user mailing list