[Freeswitch-users] Memory Question ?

William King quentusrex at gmail.com
Tue Oct 6 12:14:09 PDT 2009


It will use enough ram to load all of your modules, and applications.
That is the initial ram usage on startup.

So how much ram is FS using on startup? less than 250-300 MB of ram on
initial load with all the modules and applications isn't unreasonable. I
think by default it loads tons of stuff you probably wouldn't use in
production.

Next up is how much ram is used per call. This should hardly be anything.

And last up, if you have freeswitch running for days and you see the
memory usage grow from ~150MB to ~800MB, even if it takes weeks. Then
there might be an issue.

If you want to start finding where the RAM usage is located, then unload
some modules and see if it does it still. Also, do you have any custom
scripts in the dialplan? they might not be ending properly. Thus they
stick around when you didn't intend them to.

-William King

Dome Charoenyost wrote:
> 2009/10/7 William King <quentusrex at gmail.com>:
>   
>> Which modules do you have loaded?
>>     
> default config and nibllebill , lcr , odbcquery
>
>   
>> -William King
>>
>> Dome Charoenyost wrote:
>>     
>>> Debian Squeeze  i386 32bit
>>> And Debian Lenny are same
>>>
>>> Dome C.
>>>
>>> 2009/10/7 William King <quentusrex at gmail.com>:
>>>
>>>       
>>>> What operating system?
>>>>
>>>> -William King
>>>>
>>>> Dome Charoenyost wrote:
>>>>
>>>>         
>>>>> Dear All,
>>>>>              why freeswitch use more memory after send and receuve
>>>>> call. i attach htop capture screen.
>>>>> you can compare to asterisk it use 0.7% for long time. but FS use 7.7%
>>>>> (start from 1.2%)  after running about 4 hr.
>>>>>
>>>>> Best Regards.
>>>>>
>>>>> Dome C.
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>>           
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>>         
>>> _______________________________________________
>>> 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
>>>
>>>       
>> _______________________________________________
>> 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
>>
>>     
>
> _______________________________________________
> 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
>   




More information about the FreeSWITCH-users mailing list