<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
what version are you running?<br>
<br>
<div class="moz-cite-prefix">On 7/31/12 3:06 PM, Alex Solt wrote:<br>
</div>
<blockquote cite="mid:COL104-W339B4C7B7571AA6D51FA8B84C50@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>We are getting "cannot allocate memory" error in the log
file. I was wondering which one <span class="Apple-style-span"
style="font-size: 10pt; ">is the right way to increase the
shared memory:</span></div>
<div><font class="Apple-style-span" size="2"><br>
</font></div>
<div><font class="Apple-style-span" size="2">1) adding the
following to /etc/openser/<span class="Apple-style-span"
style="line-height: 13px; white-space: pre; ">openserctl </span></font></div>
<div><span class="Apple-style-span" style="line-height: 13px;
white-space: pre; font-size: 10pt; "><br>
</span></div>
<div><span class="Apple-style-span" style="line-height: 13px;
white-space: pre; font-size: 10pt; ">STARTOPTIONS="-m 128"</span></div>
</div>
</blockquote>
this is used when you start via ctl tool.<br>
<br>
<blockquote cite="mid:COL104-W339B4C7B7571AA6D51FA8B84C50@phx.gbl"
type="cite">
<div dir="ltr">
<div><span class="Apple-style-span" style="line-height: 13px;
white-space: pre; font-size: 10pt; "><br>
</span></div>
<div><span class="Apple-style-span" style="line-height: 13px;
white-space: pre; font-size: 10pt; "><br>
</span></div>
<div><span class="Apple-style-span" style="line-height: 13px;
white-space: pre; font-size: 10pt; ">2) modify the following
in /etc/default/openser</span></div>
<div><span class="Apple-style-span" style="line-height: 13px;
white-space: pre; font-size: 10pt; "><br>
</span></div>
<div><span class="Apple-style-span" style="line-height: 13px;
white-space: pre; font-size: 10pt; ">MEMORY=1024</span></div>
</div>
</blockquote>
this is used when you start via init.d script.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a>
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kpw">http://asipto.com/u/kpw</a></pre>
</body>
</html>