[OpenSIPS-Users] Debugging memory leaks

Fabian Gast fgast+opensips at only640k.net
Wed Mar 11 10:13:12 EST 2020


Hi Liviu, 

get_statistics shmem: from a few seconds before the dump was

shmem:total_size:: 4294967296
shmem:used_size:: 88427200
shmem:real_used_size:: 95189880
shmem:max_used_size:: 119231640
shmem:free_size:: 4199777416
shmem:fragments:: 66733


All the best, 

Fabian 


----- Ursprüngliche Mail -----
Von: "Liviu Chircu" <liviu at opensips.org>
An: "OpenSIPS users mailling list" <users at lists.opensips.org>
Gesendet: Mittwoch, 11. März 2020 11:03:16
Betreff: Re: [OpenSIPS-Users] Debugging memory leaks

On 11.03.2020 11:06, Fabian Gast wrote:
> How can we continue from the memory status on hunting down the problems? Is there any advice on this?

Hey Fabian,

When you ran the "shm_mem_dump" which produced the pasted output, what 
values did the "shmem:" statistics group hold? Based on the output, you 
were barely using 1 MB of shared memory, which is a bit strange.

The table head tells exactly what the numbers represent: total bytes, 
number of allocations and the file/func/line which allocated them.

Regards,

-- 
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com

OpenSIPS Summit, Amsterdam, May 2020
   www.opensips.org/events


_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list