View previous topic :: View next topic |
Author |
Message |
dome at tel.co.th Guest
|
|
Back to top |
|
|
quentusrex at gmail.com Guest
|
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Tue Oct 06, 2009 1:23 pm Post subject: [Freeswitch-users] Memory Question ? |
|
|
On Tue, Oct 6, 2009 at 10:51 AM, Dome Charoenyost <dome@tel.co.th (dome@tel.co.th)> wrote:
Quote: | 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.
| Do you have lots of modules loaded? The default config has lots of stuff loaded. If memory usage is a big issue then check your modules.conf.xml file and don't load unnecessary modules. Of course, you could use Asterisk but then you save memory at the expense of fewer features and more crashes...
-MC |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
|
Back to top |
|
|
dome at tel.co.th Guest
|
Posted: Tue Oct 06, 2009 2:01 pm Post subject: [Freeswitch-users] Memory Question ? |
|
|
2009/10/7 Michael Collins <msc@freeswitch.org>:
Quote: |
On Tue, Oct 6, 2009 at 10:51 AM, Dome Charoenyost <dome@tel.co.th> wrote:
Quote: |
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.
| Do you have lots of modules loaded? The default config has lots of stuff
| I use LCR , nibblebill , odbcquery.
Quote: | loaded. If memory usage is a big issue then check your modules.conf.xml file
| My question is why FS need more memory when start about 4 hr. is is
normal or got problem ?
So what's happen when running about 1 weeks ?
some time my FS crash and i report bug in jira. and bug maintainer ask
me is memory run out ?
i think yes.
Quote: | and don't load unnecessary modules. Of course, you could use Asterisk but
then you save memory at the expense of fewer features and more crashes...
| No. i move all from asterisk to FS right now :)
_______________________________________________
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 |
|
Back to top |
|
|
dome at tel.co.th Guest
|
|
Back to top |
|
|
dome at tel.co.th Guest
|
|
Back to top |
|
|
quentusrex at gmail.com Guest
|
Posted: Tue Oct 06, 2009 2:31 pm Post subject: [Freeswitch-users] Memory Question ? |
|
|
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:
_______________________________________________
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 |
|
Back to top |
|
|
quentusrex at gmail.com Guest
|
|
Back to top |
|
|
|