[Freeswitch-users] Memory growth

Mario G mario_fs at mgtech.com
Thu Feb 21 02:42:17 MSK 2013


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.
Mario G

On Feb 18, 2013, at 11:22 AM, Ken Rice wrote:

> 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...
> 
> Once we squash that there will be some more info on the 1.2 branch coming
> 
> 
> On 2/18/13 12:19 PM, "Mario G" <mario_fs at mgtech.com> wrote:
> 
>> 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 http://jira.freeswitch.org/browse/FS-5095#comment-39379. Updating to HEAD will probably fix it, I hope someone else sees the slow leak since I am getting nowhere real fast on it.....
>> Mario G
>> 
>> On Feb 18, 2013, at 3:16 AM, Steven Ayre wrote:
>> 
>>> Are you able to reproduce it on a newer version? Try current head of the master branch.
>>> 
>>> If you can, then try running FS through valgrind which may reveal the source of any memory leaks.
>>> 
>>> -Steve
>>> 
>>> 
>>> 
>>> On 18 February 2013 11:00, Виталий Давудов <vitaliy.davudov at vts24.ru> wrote:
>>>> Hi, list!
>>>> I've installed FreeSWITCH Version 1.2.3+git~20120920T220849Z~f718a5e8e6
>>>> (1.2.3; git at commit f718a5e8e6 on Thu, 20 Sep 2012 22:08:49 Z)
>>>> 
>>>> I noticed that FreeSwtich uses a lot of memory of my system, and percent
>>>> of used memory is gradually growing regardless of the number of the
>>>> simultaneous calls:
>>>> 
>>>> # uname -a
>>>> Linux freeswitch1 2.6.18-308.13.1.el5 #1 SMP Tue Aug 21 17:10:18 EDT
>>>> 2012 x86_64 x86_64 x86_64 GNU/Linux
>>>> 
>>>> # top
>>>> top - 14:21:39 up 140 days, 29 min,  2 users,  load average: 0.11, 0.14,
>>>> 0.10
>>>> Tasks:  99 total,   1 running,  96 sleeping,   2 stopped,   0 zombie
>>>> Cpu(s):  1.2%us,  0.8%sy,  0.0%ni, 96.9%id,  0.1%wa,  0.2%hi, 0.7%si,
>>>> 0.0%st
>>>> Mem:   3781680k total,  3748360k used,    33320k free,   120708k buffers
>>>> Swap:  2096472k total,    17224k used,  2079248k free,  1838356k cached
>>>> 
>>>>    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
>>>>   9584 root      -2 -10 1792m 1.3g 8252 S  2.7 36.8 935:07.85 freeswitch
>>>>   3095 mysql     15   0  329m  28m 4588 S  0.7  0.8 713:07.03 mysqld
>>>> 
>>>> At this moment FS handles no more 15 simultaneous calls, and has about
>>>> 117 registered users.
>>>> Is there a tool to monitor, which of processes or modules in FS is using
>>>> memory and how much?
>>>> 
>>>> --
>>>> Best regards,
>>>> Vitaly.
>>>> 
>>>> 
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/> 
>>>> 
>>>> 
>>>>  </> 
>>>> 
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org <http://www.freeswitch.org/> 
>>>> http://wiki.freeswitch.org <http://wiki.freeswitch.org/> 
>>>> http://www.cluecon.com <http://www.cluecon.com/> 
>>>> 
>>>> FreeSWITCH-users mailing list
>>>> FreeSWITCH-users at lists.freeswitch.org
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org <http://www.freeswitch.org/> 
>>> 
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>> 
>>> 
>>> 
>>> 
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>> 
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>> 
>> 
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> 
>> 
>> 
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>> 
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
> 
> -- 
> Ken
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
> irc.freenode.net #freeswitch
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130220/67ef3374/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list