Re: [Freeswitch-users] upadte FS (make current)
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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!
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
@Peter, I runed fsctl reclaim_mem and did not see any big difference in top (I guess I did not see any difference :) ) If I make this and see memory that FS is using I can not see any change: [root@fs1 ~]# cat /proc/`ps aux | grep freeswitch | grep -v grep | awk '{print $2}'`/smaps | egrep "(heap)" -A 7 0ebfb000-0f96d000 rw-p 0ebfb000 00:00 0 [heap] Size: 13768 kB Rss: 13528 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 13528 kB Swap: 0 kB [root@fs1 ~]# cat /proc/`ps aux | grep freeswitch | grep -v grep | awk '{print $2}'`/smaps | egrep "(heap)" -A 7 0ebfb000-0f96d000 rw-p 0ebfb000 00:00 0 [heap] Size: 13768 kB Rss: 13528 kB Shared_Clean: 0 kB Shared_Dirty: 0 kB Private_Clean: 0 kB Private_Dirty: 13528 kB Swap: 0 kB So I guess is it not FS problem, I am right? Thanks! Regards, Miha On 8/7/2012 12:21 PM, Miha 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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
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@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
______________________________________________________________________
___ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
!DSPAM:5020daa032762709953773!
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
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_V... /Peter ________________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Miha [miha@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@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
______________________________________________________________________
___ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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:5021693632761271914539!
Linux memory can be a bit tricky to always track well the application ATOP allows you sort by memory usage and is pretty good. Keep in mind however you may see the free memory going down on the system but really its just used for file caching or what have you so its not really lost or not available. Linux doesn't always do an easy job of showing memory usage. ~Mitch On Tue, Aug 7, 2012 at 12:51 PM, Peter Olsson <peter.olsson@visionutveckling.se> 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_V...
/Peter
________________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Miha [miha@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@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
______________________________________________________________________
___ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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:5021693632761271914539!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On 8/8/2012 12:44 AM, Mitch Capper wrote:
Linux memory can be a bit tricky to always track well the application ATOP allows you sort by memory usage and is pretty good. Keep in mind however you may see the free memory going down on the system but really its just used for file caching or what have you so its not really lost or not available. Linux doesn't always do an easy job of showing memory usage.
~Mitch
On Tue, Aug 7, 2012 at 12:51 PM, Peter Olsson <peter.olsson@visionutveckling.se> 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_V...
/Peter
________________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Miha [miha@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@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
___ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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:5021693632761271914539!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
@Mitch, thanks for explanation. So eventually free memory will stop going down? Otherwise FS is running perfect, I just do not what that anything will go wrong while I am not in the office. p.s.: FS is now up for 14 days. Will memory leak be causing problems any sooner or it can influence on memory slowly? Regards, Miha
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_V...
/Peter
________________________________________ Från: freeswitch-users-bounces@lists.freeswitch.org [freeswitch-users-bounces@lists.freeswitch.org] för Miha [miha@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@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
___ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
@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@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
_________________________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@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:5021693632761271914539!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users 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
participants (3)
-
Miha
-
Mitch Capper
-
Peter Olsson