[Freeswitch-dev] limit memory usage of freeswitch

Ken Rice krice at freeswitch.org
Wed Jan 16 18:59:41 MSK 2013


FreeSWITCH doesn¹t eat up all the memory... It just eats up what it needs
and just doesn¹t give it back....

The question is how many concurrent calls are you actually doing? Freeswitch
will allocate as much ram as it needs to an upper limit based on max peak
concurrent calls, then plateau there and not release that ram until you
restart FreeSWITCH....

I have many boxes running high volumes of FreeSWITCH traffic w/ 4 to 8G of
ram, and have secondary processes on those boxes that can use up to 2G of
ram and don¹t have ram issues....

K



On 1/16/13 5:43 AM, "rentmycoder rentmycoder" <rentmycoder at gmail.com> wrote:

> Hi All,
> 
> According to my experineces and some info found on FS lists it is the
> normal behaviour that freeswitch eats up all of the available memory...
> It's not a memory leak, but the standard behaviour of FS by design...
> Correct me if I'm wrong...
> Is there any way to limit FS memory usage???
> I need another services to run on the FS box...
> 
> According to the answer on the users list, there is no built in way to limit
> the usage...
> I'm going to add this feature request to fs and add as an option to
> freeswitch.conf.xml
> 
> Maybe I have to just modify the function where FS asks for available system
> memory...
> Can anyone advice me a direction, how to code it?
> 
> Thanks,
> John
> 
> 
> _________________________________________________________________________
> 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-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org

-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20130116/8a066bd3/attachment.html 


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