[Freeswitch-users] memory leak

Anthony Minessale anthony.minessale at gmail.com
Wed Sep 2 08:15:33 PDT 2009


run it slower and make sure it shuts down clean.

valgrind --tool=memcheck --log-file-exactly=vg.log --leak-check=full
--leak-resolution=high --show-reachable=yes /path/to/freeswitch -vg


On Wed, Sep 2, 2009 at 10:11 AM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> You have to reduce the load when running valgrind.
>
>
>
> On Wed, Sep 2, 2009 at 7:59 AM, Benedikt Fraunhofer <
> fraunhofer.lists.freeswitch-001 at traced.net> wrote:
>
>> Hello *,
>>
>> 2009/8/31 Rupa Schomaker <rupa at rupa.com>:
>> > Isn't there a known issue with lua+sql leaking memory on some platforms?
>>
>> just lua, no sql in use :)
>>
>> > On Mon, Aug 31, 2009 at 8:32 AM, Brian West<brian at freeswitch.org>
>> wrote:
>> >> Use valgrind.
>>
>> i tried that... in the beginning valgrind segfaultet several times
>> with some error message that it's unable to monitor so many threads.
>>
>> vg_alloc_ThreadState: no free slots available
>> Increase VG_N_THREADS, rebuild and try again.
>>
>> valgrind: the 'impossible' happened:
>>   VG_N_THREADS is too low
>>
>> it happeneded with 400 concurrent calls pretty soon, with 100 it took
>> a while, but at least it consumed half a gig of ram.
>>
>> Can someone interpret the file it generated so far? i put it at
>>
>>  http://ns42.ath.cx/B0GdWh/vg.log.bz2
>>
>> (5k compressed, 452k uncompressed) or is there just not enough
>> information contained?
>>
>> I'll give it another shot with 50 concurrent calls but i guess this
>> will take ages...
>>
>> Thx in advance
>>
>>  Beni.
>>
>> _______________________________________________
>> 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
>>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
> iax:guest at conference.freeswitch.org/888
> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
> pstn:213-799-1400
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090902/d3155ad5/attachment-0002.html 


More information about the FreeSWITCH-users mailing list