ok so you don't know for sure then, this is obviously a small box.<div>My browser right now is using 500m to let me write this email to you.</div><div><br></div><div>if you find nothing, it would suggest pools growing more than a real leak since valgrind would normally pick it up.</div>
<div>I did not make this nibble bill module but I did correct the code in the place you pointed out. Give it a try.</div><div><br></div><div>I wish I could nibble-bill this mailing list =p</div><div><br><br><div class="gmail_quote">
On Mon, May 10, 2010 at 11:14 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
It's already on jira - FSMOD-48. Valgrind with --leak-check=full finds<br>
nothing.<br>
<br>
Memory kept growing and growing, I had to restart FS when RSS reached 500M to<br>
avoid swap.<br>
<div><div></div><div class="h5"><br>
On Monday 10 May 2010, Anthony Minessale wrote:<br>
> Why does this thread continue on the list instead of being opened in JIRA<br>
> Can you see how this issue can be forgotten because it's on the mailing<br>
> list that gets 200 emails a day?<br>
> When you show the code in the body of an email like that, then I have to<br>
> spend a minuted wondering where in the code you were talking about because<br>
> it's not in the form of a unified diff.<br>
><br>
> I appreciate that you do not normally have to deal with organized software<br>
> management but I must ask that you please spend a little time to learn our<br>
> customs and use JIRA and patches to communicate bug reports. I am glad you<br>
> are helping to find problems but we really need to stay organized to make<br>
> it forward.<br>
><br>
> I redid the function in latest GIT. It did look like it was doing a few<br>
> things wrong but they probably would have surfaced in valgrind if you were<br>
> running it in full leak check mode. When you say it goes to 300M, does it<br>
> keep going from there because there is a bit of memory that will be pooled<br>
> as you start to use more advanced features. Did you ever watch it to see<br>
> how high it will go?<br>
><br>
> On Sun, May 9, 2010 at 4:01 PM, Sergey Okhapkin<br>
<<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>>wrote:<br>
> > Shouldn't label "end:" be BEFORE<br>
> > switch_odbc_statement_handle_free(&stmt); ?<br>
> > I think it should...<br>
> ><br>
> ><br>
> > static switch_status_t bill_event(<br>
> > ....<br>
> ><br>
> > if (switch_odbc_handle_exec(globals.master_odbc, sql, &stmt, NULL)<br>
> > != SWITCH_ODBC_SUCCESS) {<br>
> > char *err_str;<br>
> > err_str =<br>
> > switch_odbc_handle_get_error(globals.master_odbc, stmt);<br>
> > switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,<br>
> > "ERR:<br>
> > [%s]\n[%s]\n", sql, switch_str_nil(err_str));<br>
> > switch_safe_free(err_str);<br>
> > } else {<br>
> > /* TODO: Failover to a flat/text file if DB is unavailable<br>
> > */<br>
> ><br>
> > goto end;<br>
> > }<br>
> ><br>
> > switch_odbc_statement_handle_free(&stmt);<br>
> ><br>
> > end:<br>
> ><br>
> > On Sunday 09 May 2010, Brian West wrote:<br>
> > > What are you calling significant memory usage?<br>
> > ><br>
> > > /b<br>
> > ><br>
> > > On May 9, 2010, at 2:10 PM, Sergey Okhapkin wrote:<br>
> > > > Valgrind output shows no significant leaks. This was discussed<br>
> > > > already<br>
> ><br>
> > in<br>
> ><br>
> > > > this thread a month ago.<br>
> > > ><br>
> > > > On Sunday 09 May 2010, Brian West wrote:<br>
> > > >> Please use valgrind and see where its leaking then open a jira.<br>
> > > >><br>
> > > >> Nobody has been able to reproduce this in a lab nor provide any<br>
> ><br>
> > details<br>
> ><br>
> > > >> to assist in finding the issue... All I have seen is people<br>
> ><br>
> > complaining<br>
> ><br>
> > > >> about it and not doing what they should debugging the issue and<br>
> > > >> reporting it.<br>
> > > >><br>
> > > >> /b<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-user" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-user</a><br>
</div></div>> > >s <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<div><div></div><div class="h5">> ><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>
</div>