<div dir="ltr"><div>Hi,</div><div> </div><div>here:</div><div> </div><div>shmem:fragments = 143898</div><div>shmem:freesize = 3446570952</div><div>shmem:max_used_size = 861854768</div><div>shmem:real_used_size = 848396344</div>
<div>shmem:total_size = 4294967296</div><div>shmem:used_size = 319676976</div><div><br><br> </div><div class="gmail_quote">On Thu, Sep 6, 2012 at 9:49 AM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">Hello,<div><div class="h5"><br>
<br>
On 9/5/12 3:06 PM, Uri Shacked wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">
Hi,<br>
I use MTREE to load 5 million rows from the database. it takes about 30 sec to start kamailio and it is running great.<br>
Whern I check the shmem usage I see the data take about 0.8G out of 4G i set on shmem.<br>
When i reload the data while kamailio is running, the memory usage rises to 1.3G and stays there (the second and next reloads stays on 1.3G as well).<br>
Why doesn&#39;t it return to 0.8G after the reload is completed?<br>
</blockquote>
<br></div></div>
can you send the statistics related to shmem?<br>
<br>
kamctl fifo get_statistics shmem:<br>
<br>
There are different values there, some usage come from overhead of memory chunks management.<br>
<br>
Cheers,<br>
Daniel<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<u></u>miconda</a><br>
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a><br>
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - <a href="http://asipto.com/u/katu" target="_blank">http://asipto.com/u/katu</a><br>
<br>
</font></span></blockquote></div><br></div>