Do you *actually* experience memory starvation on your system, or are you pre-emptively restarting freeswitch? -- Yossi Neiman On 03/27/2015 08:31 AM, Aqs Younas wrote:
Thanks Brian for your quick reply.
We start getting high memory usage on our server, then we run top command to see that is happening. Usually freeswitch is there eating most of our system ram, then we restart the affected freeswitch to release the memory.
We restart freeswitch to prevent our server for crashing due to memory starvation. We are using freeswitch version.
FreeSWITCH Version 1.5.15b+git~20150224T205826Z~4909cdb7fb~64bit (git 4909cdb 2015-02-24 20:58:26Z 64bit)
On 27 March 2015 at 18:06, Brian West <brian@freeswitch.org <mailto:brian@freeswitch.org>> wrote:
You sure you have to restart? Does the process eat up all the ram and segfault due to resource starvation? Or stop working at all?
https://freeswitch.org/confluence/display/FREESWITCH/Debugging#Debugging-Col...) <https://freeswitch.org/confluence/display/FREESWITCH/Debugging#Debugging-CollectionInformationWithValgrind%28Linux/Unix%29>
It may or may not be a leak based on your description, I do know mod_vlc does use some memory up, but it may just be memory pool swelling.
Also what version of FreeSWITCH are you running exactly?
On Fri, Mar 27, 2015 at 7:57 AM, Aqs Younas <aqsyounas@gmail.com <mailto:aqsyounas@gmail.com>> wrote:
Hi, users
We are using 6 freeswitch instances, 5 freeswitch instances for playing streams with mod_vlc. After 3 to 4 for days, we see these (5) freeswitch taking more than 3gb of momory and even though calls are not more than 25.
Usually, some calls stay for more than 2 to 3 hours on some freeswitch. Everytime we have to restart the freeswitch to release the captured memory.
But is believed, freeswitch must release the momory when there are no calls. But freeswitch still keeps captured memory.
I have attactted the top command result along with this email. Willing to perform any test if it helps tackle the problem.
Thanks for your help.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
--
*/Brian West/* brian@freeswitch.org <mailto:brian@freeswitch.org>
*/Twitter: @FreeSWITCH , @briankwest/* http://www.freeswitchbook.com http://www.freeswitchcookbook.com
ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> | Register <https://freeswitch.com/cart.php?gid=1> TODAY!
*T:*+19184209001 <tel:%2B19184209001> | *F:*+19184209002 <tel:%2B19184209002> | *M:*+1918424WEST (9378) *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
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