[Freeswitch-users] Memory leak
Mario G
mario_fs at mgtech.com
Mon Mar 14 19:38:05 MSK 2011
Been updating gits since last year and even today. This is a known open problem in Jira. It is related to internal registrations, the more phone/faster frequency the faster the leak. It is low priority right now since I am having other major FS problems due to a router change. Thanks for asking!
Mario G
On Mar 14, 2011, at 9:30 AM, Steven Ayre wrote:
> Have you tried upgrading to the latest Git?
>
> -Steve
>
>
> On 14 March 2011 16:18, Mario G <mario_fs at mgtech.com> wrote:
> This may not be related but I have had a memory leak since last year that requires a restart every night. About 2M an hour on my OS X system.
>
> On Mar 14, 2011, at 8:27 AM, Steven Ayre wrote:
>
>> Try using the freeswitch.Dbh interface:
>> http://wiki.freeswitch.org/wiki/Lua_freeswitch_dbh
>>
>> It gives you a ODBC interface through freeswitch's odbc support, plus you get the benefit of the connection caching.
>>
>> -Steve
>>
>>
>>
>> On 14 March 2011 14:28, Pete Kelly <pkelly at gmail.com> wrote:
>>
>>
>> On 14 March 2011 13:16, Steven Ayre <steveayre at gmail.com> wrote:
>> If you use mod_lcr, we were getting a memory leak in that a few weeks ago which is fixed in the latest git.
>>
>> No we are not. I am going to try strengthening up the code which closes the DB connections. If that fails then I will compile and try the ODBC driver.
>>
>>
>> -Steve
>>
>>
>> On 14 March 2011 09:30, Pete Kelly <pkelly at gmail.com> wrote:
>> Hi
>>
>> We are using Freeswitch (from git sources) in a production environment to handle an IVR system using a simple set of dialplans and lua scripts. OpenSIPS 1.6 and mysql are also installed and running as part of the same IVR application.
>>
>> However over time (approx 1 week) the memory usage of Freeswitch increases, eventually creeping into swap space forcing us to restart Freeswitch. The IVR handles approx 40 concurrent calls constantly, and we have instances of the IVR running on a 32bit Etch and 64bit Lenny boxes - both exhibit the same issue.
>>
>> We have also tried the Sangoma freeswitch branch in case that contained any fixes, however we see the same issues.
>>
>> Can anybody advise if this is a known issue with Freeswitch? Is it a memory leak or is it possible to limit the amount of memory Freeswitch will use, forcing it to garbage collect when it reaches the limit?
>>
>> Any advice on where to look/debug next would be appreciated.
>>
>> Thanks
>>
>> Pete
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>>
>> _______________________________________________
>> 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
>>
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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
>
>
> _______________________________________________
> 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/20110314/6f49fca9/attachment.html
More information about the FreeSWITCH-users
mailing list