[Freeswitch-users] Memory leak

Sergey Okhapkin sos at sokhapkin.dyndns.org
Mon Mar 14 15:52:56 MSK 2011


Use odbc driver instead of mysql driver to avoid the leak. 

On Monday 14 March 2011, Pete Kelly wrote:
> Yes we do - what prompts you to suggest that could be the source of the
> leak?
> 
> On 14 March 2011 11:50, Sergey Okhapkin <sos at sokhapkin.dyndns.org> wrote:
> > Do you use luasql with mysql driver? That could be the cause of the leak.
> > 
> > On Monday 14 March 2011, Pete Kelly 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




More information about the FreeSWITCH-users mailing list