[SR-Users] MTREE reload question

Daniel-Constantin Mierla miconda at gmail.com
Thu Sep 6 08:49:35 CEST 2012


Hello,

On 9/5/12 3:06 PM, Uri Shacked wrote:
> Hi,
> I use MTREE to load 5 million rows from the database. it takes about 
> 30 sec to start kamailio and it is running great.
> Whern I check the shmem usage I see the data take about 0.8G out of 4G 
> i set on shmem.
> 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).
> Why doesn't it return to 0.8G after the reload is completed?

can you send the statistics related to shmem?

kamctl fifo get_statistics shmem:

There are different values there, some usage come from overhead of 
memory chunks management.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu




More information about the sr-users mailing list