[Freeswitch-users] Memory growth

Виталий Давудов vitaliy.davudov at vts24.ru
Fri Feb 22 17:12:39 MSK 2013


Need a little help in the following question: can I apply the patch
http://fisheye.freeswitch.org/rdiff/freeswitch.git?csid=45d849ab746e6fc0833820851dced1dc61e0fbe1&u&N
to the file
libs/sofia-sip/libsofia-sip-ua/su/su_time0.c?
Would it be necessary to change anything else?

Then I would be able to immediately begin testing...

21.02.2013 9:14, Виталий Давудов пишет:
> I would be glad to do it, but my FS in git branch v1.2.stable (it is 
> in production environment). I will have to wait patches to the 1.2 series.
>
>
> 21.02.2013 3:42, Mario G пишет:
>> 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:
>>
>>> Re: [Freeswitch-users] Memory growth
>>> 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 
>>> <x-msg://6/mario_fs@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 <x-msg://6/vitaliy.davudov@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 <x-msg://6/consulting@freeswitch.org>
>>>>>> http://www.freeswitchsolutions.com 
>>>>>> <http://www.freeswitchsolutions.com/> 
>>>>>> <http://www.freeswitchsolutions.com/>
>>>>>>
>>>>>> 
>>>>>>  </> 
>>>>>> </>
>>>>>>
>>>>>> Official FreeSWITCH Sites
>>>>>> http://www.freeswitch.org <http://www.freeswitch.org/> 
>>>>>> <http://www.freeswitch.org/>
>>>>>> http://wiki.freeswitch.org <http://wiki.freeswitch.org/> 
>>>>>> <http://wiki.freeswitch.org/>
>>>>>> http://www.cluecon.com <http://www.cluecon.com/> 
>>>>>> <http://www.cluecon.com/>
>>>>>>
>>>>>> FreeSWITCH-users mailing list
>>>>>> FreeSWITCH-users at lists.freeswitch.org 
>>>>>> <x-msg://6/FreeSWITCH-users@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/> 
>>>>>> <http://www.freeswitch.org/>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org <x-msg://6/consulting@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 
>>>>> <x-msg://6/FreeSWITCH-users@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 <x-msg://6/consulting@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 
>>>> <x-msg://6/FreeSWITCH-users@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/>
>>>
>>> -- 
>>> Ken
>>> _http://www.FreeSWITCH.org <http://www.FreeSWITCH.org/>
>>> http://www.ClueCon.com <http://www.ClueCon.com/>
>>> http://www.OSTAG.org <http://www.OSTAG.org/>
>>> _irc.freenode.net <http://irc.freenode.net> #freeswitch
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org <mailto: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
>
> -- 
> С наилучшими пожеланиями,
> Давудов Виталий Федорович
> ООО "ВИП-ТЕЛЕКОМ-СЕРВИС"
> (Группа компаний "ETERIA")
> http://www.vts24.ru
> Тел: (495) 989-47-00
>
>
> _________________________________________________________________________
> 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

-- 
С наилучшими пожеланиями,
Давудов Виталий Федорович
ООО "ВИП-ТЕЛЕКОМ-СЕРВИС"
(Группа компаний "ETERIA")
http://www.vts24.ru
Тел: (495) 989-47-00

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130222/6358fc90/attachment-0001.html 


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