[SR-Users] Memory allocation

David kamailio.org at spam.lublink.net
Mon Sep 10 18:18:38 CEST 2012


Hello,

Thanks for the clarification.

I do not see get_statistics on the "micommands" page on the wiki. Where 
in the documentation is this command discussed?

Are the stats for all processes or only for the process the responds to 
the mi command ?

Thanks,

David

On 2012-09-10 12:10, Daniel-Constantin Mierla wrote:
> Hello,
>
> -m is shared memory, so it is allocated per instance, it does not 
> matter how many children you configure.
>
> kamctl fifo get_statistics all - returns internal statistics, 
> including about shared memory
> kamctl stats - it's an alias to the previous command in the 3.3.x
> sercmd pkg.stats - to get statistics about private memory usage
>
> Cheers,
> Daniel
>
> On 9/10/12 4:38 PM, David wrote:
>> Hello,
>>
>> I originally asked this on IRC, but realized that this is probably 
>> better suited for the mailing list :
>>
>> If I set memory usage to 100mb ( -m 100 ) and set 100 children ( 
>> children=100 in kamailio.cfg ). Will Kamailio use 100 mb or 10, 000 
>> mb ( 10 gb ) of memory ? Is the memory limit per child or global for 
>> kamailio ?
>>
>> Is there an MI command I can send to check what kamailio's health ? ( 
>> load, free memory, etc... ) ?
>>
>> Thanks,
>>
>> David
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>




More information about the sr-users mailing list