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