<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Memory growth</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>We&#8217;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, &quot;Mario G&quot; &lt;<a href="mario_fs@mgtech.com">mario_fs@mgtech.com</a>&gt; wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><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><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="vitaliy.davudov@vts24.ru">vitaliy.davudov@vts24.ru</a>&gt; wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><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="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="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="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="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="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="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>irc.freenode.net #freeswitch<BR>
</SPAN></FONT>
</BODY>
</HTML>