[LAU] memlock lack

ailo ailo.at at gmail.com
Thu May 27 19:51:30 UTC 2010


Hi

On 05/27/2010 09:34 PM, Harry Van Haaren wrote:
> Hey,
>
> Adding the line:
> @audio   -  memlock    unlimited
>
> should be safe enough. I've set up many systems, usually that does the 
> trick fine.
>
> I have noticed that sometimes.. (seemingly quite random to me) some 
> apps (like Ardour)
> would warn that "memlock is unlimited" and that could *cause* lock 
> ups, and it should be set
> to something like "memlock 151832" or along those lines..  (Please 
> dont use that number, it totatlly
> depends on how much RAM your system has, and how many apps your going 
> to be running etc etc)

On Ubuntu Lucid the file /etc/security/limits.conf is no longer used for 
this purpouse. Check the file /etc/security/limits.d/audio.conf instead.
I too had the same problem until I realized this.

 From this link: http://ubuntustudio.org/LucidLynx -

Beginning with the Ubuntu package 
jack-audio-connection-kit-0.118+svn3796-1ubuntu2 editing of 
/etc/security/limits.conf should not be required. JACK will write the 
following during post-installation to /etc/security/limits.d/audio.conf

# generated by jackd's postinst.
# Do not edit this file by hand, use
# dpkg-reconfigure -p high jack
# instead
@audio - rtprio 99
@audio - memlock unlimited
#@audio - nice -19


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20100527/6ce11750/attachment.htm>


More information about the Linux-audio-user mailing list