[Freeswitch-users] Memory leak

Sergey Safarov s.safarov at gmail.com
Fri Aug 19 15:58:36 MSD 2016


As example available memory chart from jan to mar
[image: Inline image 1]
and from last FS daemon restart
[image: Inline image 2]


Also I can configure track FS daemon memory usage via command "ps -o size
$(cat /var/run/freeswitch/freeswitch.pid) | tail -n 1"



On Fri, Aug 19, 2016 at 1:44 PM, Steven Ayre <steveayre at gmail.com> wrote:

> Does it climb up to a point and then plateau, or keep climbing
> indefinitely? The former would be normal behaviour as you handle calls
> while the latter would suggest a memory leak. Memory allocated within
> FreeSWITCH is not necessarily returned to the OS but should be reused
> within the process.
>
> -Steve
>
> On 19 August 2016 at 09:35, Sergey Safarov <s.safarov at gmail.com> wrote:
>
>> I use monitoring tool (zabbix) to check health of FreeSwitch servers. I
>> has found that after 60 days of uptime FS host has less free memory  than
>> after server reboot. This memory is returned back after FS daemon restart.
>> On FS host is installed 66fe6e5.
>>
>> How to correctly detect memory leak in FS?
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160819/bc8aa417/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chart2.png
Type: image/png
Size: 53394 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160819/bc8aa417/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chart1.png
Type: image/png
Size: 63525 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160819/bc8aa417/attachment-0003.png 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list