[SR-Users] out of shm without any visible reason

Daniel-Constantin Mierla miconda at gmail.com
Tue Mar 3 09:44:34 CET 2020


On 03.03.20 02:24, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> The $stat(name) can be used for any internal statistic. I think it takes
>> only the name of statistic, not the group, so something like
>> $stat(free_size).
> Thanks, free_size and the others in
>
> core.shmmem
> {
> 	total: 67108864
> 	free: 58274976
> 	used: 7403616
> 	real_used: 8833888
> 	max_used: 8851696
> 	fragments: 10
> }
>
> were found.  For some reason, "_size" suffix needs to be appended to the
> attribute names.

I think you used a different rpc command, the one only for shared memory
info, which is not giving the exact statistic names.

To see the name of statistics, use the stats command with kamctl:

kamctl stats

It returns:

group.name = value

like:

  shmem.fragments: '41'
  shmem.free_size: '128218840'
  shmem.max_used_size: '8643872'
  shmem.real_used_size: '5998888'
  shmem.total_size: '134217728'
  shmem.used_size: '4309712'

Cheers,
Daniel

Cheers,
Daniel


-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - March 9-11, 2020, Berlin - www.asipto.com
Kamailio World Conference - April 27-29, 2020, in Berlin -- www.kamailioworld.com




More information about the sr-users mailing list