<br><br><div class="gmail_quote">On Thu, May 27, 2010 at 9:22 PM, J. <span dir="ltr"><<a href="mailto:jonathangoodman@bezeqint.net">jonathangoodman@bezeqint.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Hi all,</font></div>
<div><font face="Arial" size="2">I updated to ubuntu 10.04 it asked me if I wanted a
real-time kernel. I agreed. when I start jack I get a warning:</font></div>
<div><font face="Arial" size="2">Memory locking is unlimited - this is dangerous.
You should probably alter the line:<br> @audio -
memlock unlimited <br>in your /etc/limits.conf to
read:<br> @audio - memlock
769515</font></div>
<div><font face="Arial" size="2"><br>I went to the limits.conf there was
only:</font></div>
<div><font face="Arial" size="2"> @audio - rtpro-99 (or
something similar). not</font></div>
<div><font face="Arial" size="2">@audio -
memlock unlimited</font></div></div></blockquote><div><br>Ailo wrote:<br><span style="color: rgb(73, 73, 73); font-family: arial,sans-serif; font-size: 12px; text-align: left;"><p style="margin: 0.6em 0px 1.2em; padding: 0px;">
"JACK will write
the following during post-installation to
/etc/security/limits.d/audio.conf</p>
<p style="margin: 0.6em 0px 1.2em; padding: 0px;"># generated by
jackd's postinst.<br>
# Do not edit this file by hand, use<br>
# dpkg-reconfigure -p high jack<br>
# instead<br>
@audio - rtprio 99<br>
@audio - memlock unlimited<br>
#@audio - nice -19</p></span><p>"<br>
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; font-size: medium;"><span style="color: rgb(73, 73, 73); font-family: arial,sans-serif; font-size: 12px; text-align: left;">
<p style="margin: 0.6em 0px 1.2em; padding: 0px;">"Beginning with the
Ubuntu package jack-audio-connection-kit-0.118+svn3796-1ubuntu2 editing
of /etc/security/limits.conf should not be required."</p></span></span></p><p>BUT:</p><p> ubuntustudio-audio metapackage has not yet deprecated this script that writes:</p>
<p>@audio - rtprio 99<br>
in<br>
/etc/security/limits.conf<br></p> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor="#ffffff">
<div><font face="Arial" size="2">Under system administrator ubuntu studio controls
there is a setting for memlock can I set it there?</font></div></div></blockquote><div> <br>Ubuntustudio-controls will write to /etc/security/limits.conf <br>Leave it alone and use the command line.<br><br><a href="https://bugs.launchpad.net/ubuntustudio/+bug/571688">https://bugs.launchpad.net/ubuntustudio/+bug/571688</a><br>
<br>I think jack suggests 75% of your RAM memory. At least in my case, it was exactly so. I suppose this is safer than "unlimited". <br><br>Cheers! Pablo<br> <br></div></div><br>