[Freeswitch-users] Memory leak

Peter Olsson peter.olsson at visionutveckling.se
Mon Mar 14 19:57:21 MSK 2011


Which Jira issue is that - I couldn't find it when searching Jira?

/Peter
________________________________________
Från: freeswitch-users-bounces at lists.freeswitch.org [freeswitch-users-bounces at lists.freeswitch.org] för Mario G [mario_fs at mgtech.com]
Skickat: den 14 mars 2011 17:38
Till: FreeSWITCH Users Help
Ämne: Re: [Freeswitch-users] Memory leak

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<mailto: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<mailto:pkelly at gmail.com>> wrote:


On 14 March 2011 13:16, Steven Ayre <steveayre at gmail.com<mailto: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<mailto: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<mailto: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<http://www.freeswitch.org/>



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto: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<http://www.freeswitch.org/>



_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto: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<http://www.freeswitch.org/>


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto: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<http://www.freeswitch.org/>


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto: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<http://www.freeswitch.org/>


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto: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

!DSPAM:4d7e458932761594220015!



More information about the FreeSWITCH-users mailing list