<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">FYI, Anthony nailed my memory leak yesterday (see the jira below). 24 hours of testing aok so far. The leak varied between 300k-2M per hour, not sure if it was only OSX related so good idea for anyone with a leak to test with updated HEAD.<div>Mario G<br><div><br><div><div>On Feb 18, 2013, at 11:22 AM, Ken Rice wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">

<title>Re: [Freeswitch-users] Memory growth</title>

<div>
<font face="Monaco, Courier New"><span style="font-size:11pt">We’re trying to figure out where this last bit of leaking is coming from... Looks like it might be related to Registrations some how...<br>
<br>
Once we squash that there will be some more info on the 1.2 branch coming<br>
<br>
<br>
On 2/18/13 12:19 PM, "Mario G" &lt;<a href="x-msg://6/mario_fs@mgtech.com">mario_fs@mgtech.com</a>&gt; wrote:<br>
<br>
</span></font><blockquote type="cite"><font face="Monaco, Courier New"><span style="font-size:11pt">FYI/in case it's related: I had a substantial memory leak on the Oct 25 though Jan 29 Head versions and 1.2.3. After Feb 11 head, now a much smaller leak I can't pinpoint, see <a href="http://jira.freeswitch.org/browse/FS-5095#comment-39379">http://jira.freeswitch.org/browse/FS-5095#comment-39379</a>. Updating to HEAD will probably fix it, I hope someone else sees the slow leak since I am getting nowhere real fast on it.....<br>
Mario G<br>
<br>
On Feb 18, 2013, at 3:16 AM, Steven Ayre wrote:<br>
<br>
</span></font><blockquote type="cite"><font face="Monaco, Courier New"><span style="font-size:11pt">Are you able to reproduce it on a newer version? Try current head of the master branch.<br>
<br>
If you can, then try running FS through valgrind which may reveal the source of any memory leaks.<br>
<br>
-Steve<br>
<br>
<br>
<br>
On 18 February 2013 11:00, Âèòàëèé Äàâóäîâ &lt;<a href="x-msg://6/vitaliy.davudov@vts24.ru">vitaliy.davudov@vts24.ru</a>&gt; wrote:<br>
</span></font><blockquote type="cite"><font face="Monaco, Courier New"><span style="font-size:11pt">Hi, list!<br>
I've installed FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6<br>
(1.2.3; git at commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z)<br>
<br>
I noticed that FreeSwtich uses a lot of memory of my system, and percent<br>
of used memory is gradually growing regardless of the number of the<br>
simultaneous calls:<br>
<br>
# uname -a<br>
Linux freeswitch1 2.6.18-308.13.1.el5 #1 SMP Tue Aug 21 17:10:18 EDT<br>
2012 x86_64 x86_64 x86_64 GNU/Linux<br>
<br>
# top<br>
top - 14:21:39 up 140 days, 29 min, &nbsp;2 users, &nbsp;load average: 0.11, 0.14,<br>
0.10<br>
Tasks: &nbsp;99 total, &nbsp;&nbsp;1 running, &nbsp;96 sleeping, &nbsp;&nbsp;2 stopped, &nbsp;&nbsp;0 zombie<br>
Cpu(s): &nbsp;1.2%us, &nbsp;0.8%sy, &nbsp;0.0%ni, 96.9%id, &nbsp;0.1%wa, &nbsp;0.2%hi, 0.7%si,<br>
0.0%st<br>
Mem: &nbsp;&nbsp;3781680k total, &nbsp;3748360k used, &nbsp;&nbsp;&nbsp;33320k free, &nbsp;&nbsp;120708k buffers<br>
Swap: &nbsp;2096472k total, &nbsp;&nbsp;&nbsp;17224k used, &nbsp;2079248k free, &nbsp;1838356k cached<br>
<br>
&nbsp;&nbsp;&nbsp;PID USER &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PR &nbsp;NI &nbsp;VIRT &nbsp;RES &nbsp;SHR S %CPU %MEM &nbsp;&nbsp;&nbsp;TIME+ &nbsp;COMMAND<br>
&nbsp;&nbsp;9584 root &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-2 -10 1792m 1.3g 8252 S &nbsp;2.7 36.8 935:07.85 freeswitch<br>
&nbsp;&nbsp;3095 mysql &nbsp;&nbsp;&nbsp;&nbsp;15 &nbsp;&nbsp;0 &nbsp;329m &nbsp;28m 4588 S &nbsp;0.7 &nbsp;0.8 713:07.03 mysqld<br>
<br>
At this moment FS handles no more 15 simultaneous calls, and has about<br>
117 registered users.<br>
Is there a tool to monitor, which of processes or modules in FS is using<br>
memory and how much?<br>
<br>
--<br>
Best regards,<br>
Vitaly.<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="x-msg://6/consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a> &lt;<a href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com/</a>&gt; <br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com/">http://www.cudatel.com</a> &lt;<a href="http://www.cudatel.com/">http://www.cudatel.com/</a>&gt; <br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a>&gt; <br>
<a href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a> &lt;<a href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org/</a>&gt; <br>
<a href="http://www.cluecon.com/">http://www.cluecon.com</a> &lt;<a href="http://www.cluecon.com/">http://www.cluecon.com/</a>&gt; <br>
<br>
FreeSWITCH-users mailing list<br>
<a href="x-msg://6/FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/">http://www.freeswitch.org</a> &lt;<a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a>&gt; <br>
</span></font></blockquote><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="x-msg://6/consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com/">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com/">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="x-msg://6/FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
</span></font></blockquote><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
<br>
<hr align="CENTER" size="3" width="95%"></span></font><font size="2"><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="x-msg://6/consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com/">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com/">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="x-msg://6/FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/">http://www.freeswitch.org</a><br>
</span></font></font></blockquote><font size="2"><font face="Consolas, Courier New, Courier"><span style="font-size:10pt"><br>
</span></font></font><font face="Monaco, Courier New"><span style="font-size:11pt">-- <br>
Ken<br>
<font color="#0000FF"><u><a href="http://www.FreeSWITCH.org/">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com/">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org/">http://www.OSTAG.org</a><br>
</u></font><a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br>
</span></font>
</div>


_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<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>