Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Memory Question ?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
dome at tel.co.th
Guest





PostPosted: Tue Oct 06, 2009 1:03 pm    Post subject: [Freeswitch-users] Memory Question ? Reply with 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.

_______________________________________________
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





PostPosted: Tue Oct 06, 2009 1:07 pm    Post subject: [Freeswitch-users] Memory Question ? Reply with quote

What operating system?

-William King

Dome Charoenyost 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.


------------------------------------------------------------------------

------------------------------------------------------------------------

_______________________________________________
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


_______________________________________________
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
msc at freeswitch.org
Guest





PostPosted: Tue Oct 06, 2009 1:23 pm    Post subject: [Freeswitch-users] Memory Question ? Reply with quote

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





PostPosted: Tue Oct 06, 2009 1:23 pm    Post subject: [Freeswitch-users] Memory Question ? Reply with quote

We use memory pools and its not uncommon to use what you displayed.

/b

On Oct 6, 2009, at 12:51 PM, Dome Charoenyost 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.
<Screenshot-1.png>_______________________________________________
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


_______________________________________________
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





PostPosted: Tue Oct 06, 2009 2:01 pm    Post subject: [Freeswitch-users] Memory Question ? Reply with quote

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 :)

Quote:

-MC


_______________________________________________
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



_______________________________________________
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





PostPosted: Tue Oct 06, 2009 2:01 pm    Post subject: [Freeswitch-users] Memory Question ? Reply with quote

Debian Squeeze i386 32bit
And Debian Lenny are same

Dome C.

2009/10/7 William King <quentusrex@gmail.com>:
Quote:
What operating system?

-William King

Dome Charoenyost 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.


------------------------------------------------------------------------

------------------------------------------------------------------------

_______________________________________________
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


_______________________________________________
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


_______________________________________________
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





PostPosted: Tue Oct 06, 2009 2:10 pm    Post subject: [Freeswitch-users] Memory Question ? Reply with quote

2009/10/7 William King <quentusrex@gmail.com>:
Quote:
Which modules do you have loaded?
default config and nibllebill , lcr , odbcquery

Quote:

-William King

Dome Charoenyost wrote:
Quote:
Debian Squeeze  i386 32bit
And Debian Lenny are same

Dome C.

2009/10/7 William King <quentusrex@gmail.com>:

Quote:
What operating system?

-William King

Dome Charoenyost 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.


------------------------------------------------------------------------

------------------------------------------------------------------------

_______________________________________________
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


_______________________________________________
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



_______________________________________________
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


_______________________________________________
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


_______________________________________________
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





PostPosted: Tue Oct 06, 2009 2:31 pm    Post subject: [Freeswitch-users] Memory Question ? Reply with quote

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:
Quote:
2009/10/7 William King <quentusrex@gmail.com>:

Quote:
Which modules do you have loaded?

default config and nibllebill , lcr , odbcquery


Quote:
-William King

Dome Charoenyost wrote:

Quote:
Debian Squeeze i386 32bit
And Debian Lenny are same

Dome C.

2009/10/7 William King <quentusrex@gmail.com>:


Quote:
What operating system?

-William King

Dome Charoenyost 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.


------------------------------------------------------------------------

------------------------------------------------------------------------

_______________________________________________
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



_______________________________________________
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



_______________________________________________
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


_______________________________________________
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



_______________________________________________
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


_______________________________________________
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





PostPosted: Tue Oct 06, 2009 2:46 pm    Post subject: [Freeswitch-users] Memory Question ? Reply with quote

Which modules do you have loaded?

-William King

Dome Charoenyost wrote:
Quote:
Debian Squeeze i386 32bit
And Debian Lenny are same

Dome C.

2009/10/7 William King <quentusrex@gmail.com>:

Quote:
What operating system?

-William King

Dome Charoenyost 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.


------------------------------------------------------------------------

------------------------------------------------------------------------

_______________________________________________
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


_______________________________________________
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



_______________________________________________
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


_______________________________________________
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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services