[Freeswitch-users] Memory leak in mod_nibblebill or in ODBC core?
Sergey Okhapkin
sos at sokhapkin.dyndns.org
Sat Apr 17 15:46:56 PDT 2010
No, I do not use core ODBC. I run lua with odbc support, but to check the
problem I got rid of lua and reinvited the wheel with mod_xml_curl to build
the dialplan. Absolutely the same memory leak.
FS takes about 60M RSS without mod_nibblebill but RSS grows up to infinity
when mod_nibblebill is enabled.
On Saturday 17 April 2010, Rupa Schomaker wrote:
> Are you using anything else that uses ODBC? You may be seeing the initial
> hit of ODBC. I use nibblebill (lightly) without any significant memory
> utilization that I can see. But then, I don't look at my memory usage so
> closely. 300M isn't that much...
>
> On Sat, Apr 17, 2010 at 3:34 PM, Sergey Okhapkin
>
> <sos at sokhapkin.dyndns.org>wrote:
> > When memory stays at 50-60M without nibblebill and grows to 300M with...
> > It's
> > definetily a leak. valgring log is available, but there is nothing
> > suspicious
> > in it... Try to enable niblebill yourself.
> >
> > On Saturday 17 April 2010, Michael Jerris wrote:
> > > 100M may just be the memory it is really using for what it is doing and
> >
> > not
> >
> > > a leak. Have you seen anything to tell you this is actually a leak?
> > > Have you run under valgrind or some similar tool to confirm?
> > >
> > > Mike
> > >
> > > On Apr 17, 2010, at 9:26 AM, Sergey Okhapkin wrote:
> > > > I want to utilize nibblebill features for prepaid support, but as
> > > > soon
> >
> > as
> >
> > > > I enable nibble billing with
> > > >
> > > > set nibble_rate=XXX
> > > > set nibble_account=NNNNNN
> > > > set enable_heartbeat_events=60
> > > >
> > > > in dialplan, FS process begins to eat more and more memory, RSS grows
> > > > from 23M to 100M and more after processing few thousands calls and
> > > > continues to grow. If I comment out those 3 lines from dialplan, then
> >
> > FS
> >
> > > > RSS grows from initial 23M to 50-60M (depending on the number of
> > > > concurrent calls) and stays at this value, no memory leaks.
> > > >
> > > > Do anybody use mod_nibblebill?
> > > >
> > > > I'm experiencing this problem with all svn versions I tried including
> > > > latest git version.
> > >
> > > _______________________________________________
> > > 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-user
> > >s 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
>
More information about the FreeSWITCH-users
mailing list