[Freeswitch-dev] Transcoding g711 speex - memory leak

Stanislav Sinyagin ssinyagin at yahoo.com
Thu Jan 30 11:41:38 MSK 2014

the best would be to open a JIRA ticket.

Also, are you compiling your daemon yourself, or it's from prebuilt packages? 

I recently recognized that "make clean" is not sufficient, and there are some leftovers which are not re-compiled, and that likely leads to crashes: 

 From: Georgi Stefanov <georgi_mei at abv.bg>
To: freeswitch-dev at lists.freeswitch.org 
Sent: Thursday, January 30, 2014 9:13 AM
Subject: [Freeswitch-dev] Transcoding g711 speex - memory leak

Hello All,

These days I am playing with Freeswitch transcoding capabilities
I succeeded to make 400+ simultaneous calls with 1500% CPU load.
Freeswitch is working stable during 30-40min.
The it comes the crash, but no core file found
I saw in /var/log/message that Freeswitch was killed by OOM( out-of-memory) killer

I repeated the test 3 times - same result

Then I used the advices from http://www.oracle.com/technetwork/articles/servers-storage-dev/oom-killer-1911807.html to handle with kernel memory overcommit strategy.

OOM killer stopped killing my Freeswitch, but then when I try to make new calls I got error "MEDIA_TIMEOUT"

My question is:
Is it memory leak?

P.S. When I do not use transcoding capabilities I do not have this "issue"

Does anybody else meet similar behavior ?

Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org

Official FreeSWITCH Sites

FreeSWITCH-dev mailing list
FreeSWITCH-dev at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20140130/2ce66edb/attachment.html 

Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-dev mailing list