[Freeswitch-users] upadte FS (make current)

Miha miha at softnet.si
Tue Aug 7 14:21:30 MSD 2012


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
>>
>> 
>> 
>>
>> 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
>>
> @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
>
>  
>
> 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:5020daa032762709953773!
>
>
> _________________________________________________________________________
> 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
>




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