This is invalid.<br><br>Those places are where sip calls are created and they are most definitely not leaking.<br>If anything, it suggests dialogs that are up still and not yet destroyed at the termination of the program. <br>
If this location in the code was a leak it would be gigs not megs missing.<br><br>Did you do the exact command I said (especially -vg param to FS) and then a full clean shutdown all the way back to the shell?<br><br>Are you maybe not getting the BYE to your calls creating open dialogs?<br>
You may want to turn on the sip trace.<br><br><br><div class="gmail_quote">On Mon, Apr 19, 2010 at 10:29 AM, Sergey Okhapkin <span dir="ltr"><<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Valgrind doesn't show leaks in mod_nibblebill, most of the leaked memory was<br>
in mod_sofia:<br>
<br>
==12476== 53,064 bytes in 67 blocks are definitely lost in loss record 138 of<br>
141<br>
==12476== at 0x4026378: malloc (in /usr/lib/valgrind/x86-<br>
linux/vgpreload_memcheck.so)<br>
==12476== by 0x6A0DC8F: sofia_handle_sip_i_invite (sofia.c:6538)<br>
==12476==<br>
==12476==<br>
==12476== 92,664 bytes in 117 blocks are definitely lost in loss record 139 of<br>
141<br>
==12476== at 0x4026378: malloc (in /usr/lib/valgrind/x86-<br>
linux/vgpreload_memcheck.so)<br>
==12476== by 0x6A2F76F: sofia_glue_do_invite (sofia_glue.c:1874)<br>
==12476==<br>
<br>
BTW, do I understand FS code correct that channel private data are always<br>
handled by sqlite, even if I enable core ODBC?<br>
<div><div></div><div class="h5"><br>
<br>
On Monday 19 April 2010, Anthony Minessale wrote:<br>
> 300M is tiny. try having 2000 channels up you can soar into a gig of usage.<br>
><br>
> That valgrind report only showed 100k leaked which means it was all<br>
> accounted for and torn down in the end.<br>
><br>
> If you can find a specific leak in the nibble bill module with valgrind we<br>
> will gladly fix it and you<br>
> can gladly thank us for giving you a way to make money by the second.<br>
><br>
> valgrind --tool=memcheck --log-file=vg.log --leak-check=full<br>
> --leak-resolution=high --show-reachable=yes<br>
> /usr/local/freeswitch/bin/freeswitch -vg<br>
><br>
><br>
><br>
> On Sun, Apr 18, 2010 at 11:48 AM, Sergey Okhapkin<br>
><br>
> <<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>>wrote:<br>
> > Which valgrind options should I specify? I did run<br>
> ><br>
> > valgrind --tool=memcheck --log-file=vg.log --leak-check=full --leak-<br>
> > resolution=high --show-reachable=yes ./freeswitch -nonat -vg<br>
> ><br>
> > 100K leaked is nothing compared to FS process RSS of 300M...<br>
> ><br>
> > On Sunday 18 April 2010, Anthony Minessale wrote:<br>
> > > Also thatb suggests you leaked a whopping 100k<br>
> > ><br>
> > > On Apr 18, 2010 11:35 AM, "Anthony Minessale" <<br>
> ><br>
> > <a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>><br>
> ><br>
> > > wrote:<br>
> > ><br>
> > > That's not very useful you need a full report with extended checking.<br>
> > ><br>
> > > > On Apr 18, 2010 7:34 AM, "Sergey Okhapkin" <<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>><br>
> > ><br>
> > > wrote:<br>
> > > > According to v...<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > On Saturday 17 April 2010, Michael Jerris wrote:<br>
> > > > That is a completely incorrect statement. Usi...<br>
> ><br>
> > _______________________________________________<br>
> > FreeSWITCH-users mailing list<br>
> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>