Sergey:<br><br>Did you tried the latest code of nibbliebill? and did it fix your problem?<br><br><br><br><div class="gmail_quote">On Tue, May 11, 2010 at 12:23 AM, Anthony Minessale <span dir="ltr">&lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">ok so you don&#39;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><div><div></div><div class="h5">
<br><br><div class="gmail_quote">
On Mon, May 10, 2010 at 11:14 AM, Sergey Okhapkin <span dir="ltr">&lt;<a href="mailto:sos@sokhapkin.dyndns.org" target="_blank">sos@sokhapkin.dyndns.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

It&#39;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><br>
On Monday 10 May 2010, Anthony Minessale wrote:<br>
&gt; Why does this thread continue on the list instead of being opened in JIRA<br>
&gt; Can you see how this issue can be forgotten because it&#39;s on the mailing<br>
&gt;  list that gets 200 emails a day?<br>
&gt; When you show the code in the body of an email like that, then I have to<br>
&gt; spend a minuted wondering where in the code you were talking about because<br>
&gt; it&#39;s not in the form of a unified diff.<br>
&gt;<br>
&gt; I appreciate that you do not normally have to deal with organized software<br>
&gt; management but I must ask that you please spend a little time to learn our<br>
&gt; customs and use JIRA and patches to communicate bug reports.  I am glad you<br>
&gt; are helping to find problems but we really need to stay organized to make<br>
&gt;  it forward.<br>
&gt;<br>
&gt; I redid the function in latest GIT.  It did look like it was doing a few<br>
&gt; things wrong but they probably would have surfaced in valgrind if you were<br>
&gt; running it in full leak check mode.  When you say it goes to 300M, does it<br>
&gt; keep going from there because there is a bit of memory that will be pooled<br>
&gt; as you start to use more advanced features.  Did you ever watch it to see<br>
&gt; how high it will go?<br>
&gt;<br>
&gt; On Sun, May 9, 2010 at 4:01 PM, Sergey Okhapkin<br>
&lt;<a href="mailto:sos@sokhapkin.dyndns.org" target="_blank">sos@sokhapkin.dyndns.org</a>&gt;wrote:<br>
&gt; &gt; Shouldn&#39;t label &quot;end:&quot; be BEFORE<br>
&gt; &gt; switch_odbc_statement_handle_free(&amp;stmt); ?<br>
&gt; &gt; I think it should...<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; static switch_status_t bill_event(<br>
&gt; &gt; ....<br>
&gt; &gt;<br>
&gt; &gt;       if (switch_odbc_handle_exec(globals.master_odbc, sql, &amp;stmt, NULL)<br>
&gt; &gt; != SWITCH_ODBC_SUCCESS) {<br>
&gt; &gt;                char *err_str;<br>
&gt; &gt;                err_str =<br>
&gt; &gt; switch_odbc_handle_get_error(globals.master_odbc, stmt);<br>
&gt; &gt;                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,<br>
&gt; &gt; &quot;ERR:<br>
&gt; &gt; [%s]\n[%s]\n&quot;, sql, switch_str_nil(err_str));<br>
&gt; &gt;                switch_safe_free(err_str);<br>
&gt; &gt;        } else {<br>
&gt; &gt;                /* TODO: Failover to a flat/text file if DB is unavailable<br>
&gt; &gt; */<br>
&gt; &gt;<br>
&gt; &gt;                goto end;<br>
&gt; &gt;        }<br>
&gt; &gt;<br>
&gt; &gt;        switch_odbc_statement_handle_free(&amp;stmt);<br>
&gt; &gt;<br>
&gt; &gt; end:<br>
&gt; &gt;<br>
&gt; &gt; On Sunday 09 May 2010, Brian West wrote:<br>
&gt; &gt; &gt; What are you calling significant memory usage?<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; /b<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On May 9, 2010, at 2:10 PM, Sergey Okhapkin wrote:<br>
&gt; &gt; &gt; &gt; Valgrind output shows no significant leaks. This was discussed<br>
&gt; &gt; &gt; &gt; already<br>
&gt; &gt;<br>
&gt; &gt; in<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt; this thread a month ago.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; On Sunday 09 May 2010, Brian West wrote:<br>
&gt; &gt; &gt; &gt;&gt; Please use valgrind and see where its leaking then open a jira.<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; Nobody has been able to reproduce this in a lab nor provide any<br>
&gt; &gt;<br>
&gt; &gt; details<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; to assist in finding the issue... All I have seen is people<br>
&gt; &gt;<br>
&gt; &gt; complaining<br>
&gt; &gt;<br>
&gt; &gt; &gt; &gt;&gt; about it and not doing what they should debugging the issue and<br>
&gt; &gt; &gt; &gt;&gt; reporting it.<br>
&gt; &gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt; &gt;&gt; /b<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; FreeSWITCH-users mailing list<br>
&gt; &gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; &gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt; &gt; 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>&gt; &gt; &gt;s <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<div><div></div><div>&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; FreeSWITCH-users mailing list<br>
&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></div></div><div class="im">-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>

Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div></div>
<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></blockquote></div><br><br clear="all"><br>-- <br>Henry Huang<br>UniC Solution - Communication Unified<br>VoIP &amp; Open Source software Consultant<br>