<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Memory growth</TITLE>
</HEAD>
<BODY>
<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" <<a href="mario_fs@mgtech.com">mario_fs@mgtech.com</a>> 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, Виталий Давудов <<a href="vitaliy.davudov@vts24.ru">vitaliy.davudov@vts24.ru</a>> 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, 2 users, load average: 0.11, 0.14,<BR>
0.10<BR>
Tasks: 99 total, 1 running, 96 sleeping, 2 stopped, 0 zombie<BR>
Cpu(s): 1.2%us, 0.8%sy, 0.0%ni, 96.9%id, 0.1%wa, 0.2%hi, 0.7%si,<BR>
0.0%st<BR>
Mem: 3781680k total, 3748360k used, 33320k free, 120708k buffers<BR>
Swap: 2096472k total, 17224k used, 2079248k free, 1838356k cached<BR>
<BR>
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND<BR>
9584 root -2 -10 1792m 1.3g 8252 S 2.7 36.8 935:07.85 freeswitch<BR>
3095 mysql 15 0 329m 28m 4588 S 0.7 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> <<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> <<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> <<a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a>> <BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a> <<a href="http://wiki.freeswitch.org/">http://wiki.freeswitch.org/</a>> <BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a> <<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> <<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>
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>