yes its a function of the sofia-sip project, but did you wait before you stopped it?<br>We have people sending non stop 200+calls a second complaining about no leaks.<br>So if you have some real problem it's going to be your network conditions and interop with your<br>
providers causing an edge case with the SIP stack itself who has it's own list and irc channel.<br><br><br><br><div class="gmail_quote">On Mon, Apr 19, 2010 at 11:45 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;">It's possible that some BYE or ACK could be lost, but shouldn't sip dialogs be<br>
destroyed automatically after a timeout?<br>
<div><div></div><div class="h5"><br>
On Monday 19 April 2010, Anthony Minessale wrote:<br>
> welll you are losing sip dialogs somewhere.<br>
> It's not a leak its loss of sip dialogs most likely a side effect of<br>
> topology problems.<br>
><br>
><br>
> On Mon, Apr 19, 2010 at 11:03 AM, Sergey Okhapkin<br>
><br>
> <<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>>wrote:<br>
> > The command was exactly as you suggested, FS was started with "-nonat<br>
> > -vg" command line options, after few hours run (about 5K calls processed)<br>
> > FS was shut down gracefully.<br>
> ><br>
> > On Monday 19 April 2010, Anthony Minessale wrote:<br>
> > > This is invalid.<br>
> > ><br>
> > > Those places are where sip calls are created and they are most<br>
> > > definitely not leaking.<br>
> > > If anything, it suggests dialogs that are up still and not yet<br>
> > > destroyed<br>
> ><br>
> > at<br>
> ><br>
> > > the termination of the program.<br>
> > > If this location in the code was a leak it would be gigs not megs<br>
> ><br>
> > missing.<br>
> ><br>
> > > Did you do the exact command I said (especially -vg param to FS) and<br>
> > > then<br>
> ><br>
> > a<br>
> ><br>
> > > 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>
> > > On Mon, Apr 19, 2010 at 10:29 AM, Sergey Okhapkin<br>
> > ><br>
> > > <<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>>wrote:<br>
> > > > Valgrind doesn't show leaks in mod_nibblebill, most of the leaked<br>
> ><br>
> > memory<br>
> ><br>
> > > > was<br>
> > > > in mod_sofia:<br>
> > > ><br>
> > > > ==12476== 53,064 bytes in 67 blocks are definitely lost in loss<br>
> > > > 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<br>
> > > > 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<br>
> ><br>
> > always<br>
> ><br>
> > > > handled by sqlite, even if I enable core ODBC?<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<br>
> > > > > of<br>
> > > ><br>
> > > > 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<br>
> ><br>
> > valgrind<br>
> ><br>
> > > > we<br>
> > > ><br>
> > > > > will gladly fix it and you<br>
> > > > > can gladly thank us for giving you a way to make money by the<br>
> > > > > 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<br>
> ><br>
> > --leak-<br>
> ><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<br>
> > > > > > > checking.<br>
> > > > > > ><br>
> > > > > > > > On Apr 18, 2010 7:34 AM, "Sergey Okhapkin" <<br>
> > > ><br>
> > > > <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:<br>
> > > ><br>
> > > > <a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> > > ><br>
> > > > > > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><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:<br>
> ><br>
> > <a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> ><br>
> > > > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><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>