On Tue, Nov 24, 2009 at 11:21 AM, Jerry Geis <span dir="ltr">&lt;<a href="mailto:geisj@pagestation.com" target="_blank">geisj@pagestation.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Is there a way to keep asterisk in RAM<br>
and tell linux not to swap it out (ever).<br>
<br>
There are times when delays are noticed and I presume<br>
its due to linux swapping out the program. As if I call right back in<br>
then everything responds right away. Wait awhile and the same thing<br>
might occur.<br>
<br>
How can I keep asterisk always in RAM?<br>
<br></blockquote><div><br>How  much RAM your system have?<br>
Concurrent calls?<br>Write or encode calls on disk?<br><br>You have other softwares (like databases) running on same machine?<br>
<br>
Maybe, you shoul run the vmstat, ps, top and other tools to detect the
bootleneck on your system, and read about &quot; kernel swappiness&quot;:<br>
<br>
<a href="http://kerneltrap.org/node/3000" target="_blank">http://kerneltrap.org/node/3000</a><br> 
<br></div></div>