[Freeswitch-users] upadte FS (make current)
Peter Olsson
peter.olsson at visionutveckling.se
Wed Aug 8 10:28:04 MSD 2012
Since FS only seems to be using 1,4% of the memory it seems fine to me. As mentioned before in this thread, other things like file caching etc. will also use memory, so it's quite normal to see available memory decreasing
/Peter
-----Ursprungligt meddelande-----
Från: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] För Miha
Skickat: den 8 augusti 2012 08:12
Till: FreeSWITCH Users Help
Ämne: Re: [Freeswitch-users] upadte FS (make current)
On 8/7/2012 9:51 PM, Peter Olsson wrote:
> Why do you even think FS leaks memory? How much memory does it use?
>
> Anyway, to look for memory leaks, check out this:
> http://wiki.freeswitch.org/wiki/Reporting_Bugs#Collection_Information_
> With_Valgrind_.28Linux.2FUnix.29
>
> /Peter
>
> ________________________________________
> Från: freeswitch-users-bounces at lists.freeswitch.org
> [freeswitch-users-bounces at lists.freeswitch.org] för Miha
> [miha at softnet.si]
> Skickat: den 7 augusti 2012 21:22
> Till: FreeSWITCH Users Help
> Ämne: Re: [Freeswitch-users] upadte FS (make current)
>
> HI,
>
> just one more information. What is the best way to see what leaks
> memory and to be sure that FS does not leak it?
>
> If I look at the top command I can see that the free memory is slowly
> dropping, but from ps aux I can see that FS consums 1.3% of memory
> (the same).
>
> Thanks!
>
> Miha
>
> Thanks!
> MIha
>
> On Tue, 07 Aug 2012 12:21:30 +0200
> Miha <miha at softnet.si> wrote:
>> Hi Peter,
>>
>> fsctl reclaim_mem this will not harm any call and etc?
>>
>> So if freeswitch does not leak memory what should I see in top
>> (memory will not drop?)?
>>
>> Thanks!
>> Miha
>>
>>
>>
>> On 8/7/2012 11:48 AM, Peter Olsson wrote:
>>> It's always hard to say what is a memory leak and
>> what's not. FS uses memory pools internally, which sometime might
>> make it look like it leaks memory, but in the end FS will reuse that
>> memory. You can also run "fsctl reclaim_mem" in the console or
>> fs_cli, and see if that makes the memory usage drop.
>>> /Peter
>>>
>>> -----Ursprungligt meddelande-----
>>> Fr?n: freeswitch-users-bounces at lists.freeswitch.org
>> [mailto:freeswitch-users-bounces at lists.freeswitch.org]
>> För Miha
>>> Skickat: den 7 augusti 2012 11:14
>>> Till: FreeSWITCH Users Help
>>> Ämne: Re: [Freeswitch-users] upadte FS (make current)
>>>
>>> On 8/7/2012 10:54 AM, Peter Olsson wrote:
>>>> Usually it's no problem. However, I always recommend
>> to have a test
>>>> server to run basic tests before going into
>> production. There have
>>>> been a couple of memory leaks fixed, but I think that
>> was before your
>>>> current version - but I don't remember all the commits
>> from my head..
>>>> :)
>>>>
>>>> I would also suggest to read through the git commit
>> log, to get an idea of what has been done.
>>>> /Peter
>>>>
>>>>
>>>> -----Ursprungligt meddelande-----
>>>> Fr?n: freeswitch-users-bounces at lists.freeswitch.org
>>>> [mailto:freeswitch-users-bounces at lists.freeswitch.org]
>> För Miha
>>>> Skickat: den 7 augusti 2012 10:37
>>>> Till: FreeSWITCH Users Help
>>>> Ämne: [Freeswitch-users] upadte FS (make current)
>>>>
>>>> Hi,
>>>>
>>>> I am running on production server FS (runs ok). I
>> would like to upgrade it to latest git.
>>>> Can I expect any problems? I not using any special
>> module (just mod_rad_auth, for cdr mod_xml_cdr).
>>>> Is it better to first test everything on test server
>> and than make upgrade?
>>>> My FS is now up for 13 days. I am looking at memory
>> for a few days and noticing that free memory is shrinking (slowly).
>> Was there any problem with memory leak? :
>>>> top - 09:46:46 up 13 days, 12:32, 3 users, load
>> average: 0.00, 0.04, 0.05
>>>> Tasks: 159 total, 1 running, 158 sleeping, 0
>> stopped, 0 zombie
>>>> Cpu(s): 0.6%us, 0.4%sy, 0.0%ni, 99.0%id, 0.0%wa,
>> 0.0%hi, 0.0%si, 0.0%st
>>>> Mem: 4046636k total, 3356340k used, 690296k free,
>> 357296k buffers
>>>> Swap: 6094840k total, 0k used, 6094840k free,
>> 2629280k cached
>>>> My version: FreeSWITCH Version
>>>> 1.2.0-rc2+git~20120721T151827Z~b2e28d68b5
>>>> (1.2.0-rc2; git at commit b2e28d68b5 on Sat, 21 Jul
>> 2012 15:18:27 Z)
>>>> Thanks!
>>>>
>>>> Miha
>>>>
>>>>
> ______________________________________________________________________
>>>> ___ Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication
>> Server
>>>>
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> Join Us At ClueCon - Aug 7-9, 2012
>>>>
>>>> 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-use
>>>> rs
>>>> http://www.freeswitch.org
>>>>
>>>>
>>>>
>>>>
>>>>
> ______________________________________________________________________
>>>> ___ Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> FreeSWITCH-powered IP PBX: The CudaTel Communication
>> Server
>>>>
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://wiki.freeswitch.org
>>>> http://www.cluecon.com
>>>>
>>>> Join Us At ClueCon - Aug 7-9, 2012
>>>>
>>>> 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-use
>>>> rs
>>>> http://www.freeswitch.org
>>>>
>>> @Peter thanks for your quick answer:)
>>>
>>> I readed jira postes and noticed that this was befor my
>> git version (as you said).
>>> If there was leak problem (I do not know if it is, just
>> noticing that free memory is droping), would FS be stable for 13 days
>> or would this bug be present sooner (memory leak)?
>>> regards,
>>> Miha
>>>
>>>
>>>
> ______________________________________________________________________
> ___
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> FreeSWITCH-powered IP PBX: The CudaTel Communication
>> Server
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> Join Us At ClueCon - Aug 7-9, 2012
>>>
>>> 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-use
> rs
>>> http://www.freeswitch.org
>>>
>>>
>>>
>>>
>>>
> ______________________________________________________________________
> ___
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> FreeSWITCH-powered IP PBX: The CudaTel Communication
>> Server
>>>
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://wiki.freeswitch.org
>>> http://www.cluecon.com
>>>
>>> Join Us At ClueCon - Aug 7-9, 2012
>>>
>>> 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-use
> rs
>>> 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
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> 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-use
> rs
>> 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
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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-use
> rs
> 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
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> 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-use
> rs
> http://www.freeswitch.org
>
HI Peter,
I am not thinking that FS memory leaks, I just wont to be shure that my does not leaks:)
Problem is that I am notiching that in top command I can see that memory is slowly shrinking.
For exp in top command yesterday free memory was something about 635348k free
Today:
Mem: 4046636k total, 3511288k used, 535348k free, 367408k buffers
Swap: 6094840k total, 0k used, 6094840k free, 2765076k cached
So every day is a bit litle less.
ps aux:
root 3596 3.9 1.4 457624 58228 ? S<l Jul24 827:56
/usr/local/freeswitch/bin/freeswitch -nc
As this machin is in production and I am going to vacation this week I do not wont to be any problems.
Regards,
Miha
_________________________________________________________________________
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
Join Us At ClueCon - Aug 7-9, 2012
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
!DSPAM:502201c432761188118870!
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list