<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Been updating gits since last year and even today. This is a known open problem in Jira. It is related to internal registrations, the more phone/faster frequency the faster the leak. It is low priority right now since I am having other major FS problems due to a router change. Thanks for asking!<div>Mario G<br><div><br><div><div>On Mar 14, 2011, at 9:30 AM, Steven Ayre wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Have you tried upgrading to the latest Git?</div><div><br></div><div>-Steve</div><div><br><br><div class="gmail_quote">On 14 March 2011 16:18, Mario G <span dir="ltr">&lt;<a href="mailto:mario_fs@mgtech.com">mario_fs@mgtech.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word">This may not be related but I have had a memory leak since last year that requires a restart every night. About 2M an hour on my OS X system.<div>

<div></div><div class="h5"><div><br><div><div>On Mar 14, 2011, at 8:27 AM, Steven Ayre wrote:</div><br><blockquote type="cite">Try using the freeswitch.Dbh interface:<div><a href="http://wiki.freeswitch.org/wiki/Lua_freeswitch_dbh" target="_blank">http://wiki.freeswitch.org/wiki/Lua_freeswitch_dbh</a></div>

<div><br></div><div>It gives you a ODBC interface through freeswitch's odbc support, plus you get the benefit of the connection caching.</div>

<div><br></div><div>-Steve</div><div><br></div><div><br><br><div class="gmail_quote">On 14 March 2011 14:28, Pete Kelly <span dir="ltr">&lt;<a href="mailto:pkelly@gmail.com" target="_blank">pkelly@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br><br><div class="gmail_quote"><div>On 14 March 2011 13:16, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




If you use mod_lcr, we were getting a memory leak in that a few weeks ago which is fixed in the latest git.</blockquote><div><br></div></div><div>No we are not. I am going to try strengthening up the code which closes the DB connections. If that fails then I will compile and try the ODBC driver.</div>



<div><div></div><div>
<div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><br></div><div>-Steve</div><div><br><br><div class="gmail_quote"><div><div></div><div>
On 14 March 2011 09:30, Pete Kelly <span dir="ltr">&lt;<a href="mailto:pkelly@gmail.com" target="_blank">pkelly@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>Hi<div><br>We are using Freeswitch (from git sources) in a production environment to handle an IVR system using a simple set of dialplans and lua scripts. OpenSIPS 1.6 and mysql are also installed and running as part of the same IVR application.</div>







<div><br></div><div>However over time (approx 1 week) the memory usage of Freeswitch increases, eventually creeping into swap space forcing us to restart Freeswitch. The IVR handles approx 40 concurrent calls constantly, and we have instances of the IVR running on a 32bit Etch and 64bit Lenny boxes - both exhibit the same issue.</div>







<div><br></div><div>We have also tried the Sangoma freeswitch branch in case that contained any fixes, however we see the same issues.</div><div><br></div><div>Can anybody advise if this is a known issue with Freeswitch? Is it a memory leak or is it possible to limit the amount of memory Freeswitch will use, forcing it to garbage collect when it reaches the limit?&nbsp;</div>







<div><br></div><div>Any advice on where to look/debug next would be appreciated.</div><div><br></div><div>Thanks</div><div><br></div><font color="#888888"><div>Pete</div><div><br></div><div><br></div>
</font><br></div></div><div>_______________________________________________<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>
<br></div></blockquote></div><br></div></div>
<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>
<br></blockquote></div></div></div><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>
<br></blockquote></div><br></div>
_______________________________________________<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>

</blockquote></div><br></div></div></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></div>
_______________________________________________<br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></div></body></html>