Freeswitch memory usage is too high
Hi Freeswitch is being used in a scenario where two endpoints are running traffic with bypass media mode. Performance is good and all things are smooth. But as the time goes after starting freeswitch, it starts consuming almost whole of memory. Note , freeswitch is being started with -core option, is it related? If this 99% memory consumption is any red alert, as we can see calls are still connecting fine and all is going as usual. -- Muhammad Danish Moosa
On 07/01/2009 08:29 AM, Muhammad Danish Moosa wrote:
Hi
Freeswitch is being used in a scenario where two endpoints are running traffic with bypass media mode. Performance is good and all things are smooth.
But as the time goes after starting freeswitch, it starts consuming almost whole of memory. How much is the "whole"? You should see the memory usage level off, it won't keep growing forever.
-Ray
Hi Ray, This was a problem some time ago (couple of months ago). Are you running the latest build? Chris. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Raymond Chandler Sent: Wednesday, July 01, 2009 6:11 AM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Freeswitch memory usage is too high On 07/01/2009 08:29 AM, Muhammad Danish Moosa wrote:
Hi
Freeswitch is being used in a scenario where two endpoints are running traffic with bypass media mode. Performance is good and all things are smooth.
But as the time goes after starting freeswitch, it starts consuming almost whole of memory. How much is the "whole"? You should see the memory usage level off, it won't keep growing forever.
-Ray _______________________________________________ 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
How much memory is it using? Can you use memstat to see where the memory is allocated. Mike On Jul 1, 2009, at 8:29 AM, Muhammad Danish Moosa <danishmoosa@gmail.com> wrote:
Hi
Freeswitch is being used in a scenario where two endpoints are running traffic with bypass media mode. Performance is good and all things are smooth.
But as the time goes after starting freeswitch, it starts consuming almost whole of memory. Note , freeswitch is being started with - core option, is it related?
If this 99% memory consumption is any red alert, as we can see calls are still connecting fine and all is going as usual.
-- Muhammad Danish Moosa _______________________________________________ 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
You also have a jira http://jira.freeswitch.org/browse/MODAPP-298, It looks like you're using lua sql and the backtrace you attached to the jira was cut off right before the data I needed to see... can you follow up on that ASAP? It looks like a crash in libmysql from the last line but again I can't see the rest of it. /b On Jul 1, 2009, at 7:29 AM, Muhammad Danish Moosa wrote:
Hi
Freeswitch is being used in a scenario where two endpoints are running traffic with bypass media mode. Performance is good and all things are smooth.
But as the time goes after starting freeswitch, it starts consuming almost whole of memory. Note , freeswitch is being started with - core option, is it related?
If this 99% memory consumption is any red alert, as we can see calls are still connecting fine and all is going as usual.
-- Muhammad Danish Moosa _______________________________________________ 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
bkw, you said "Downgrading. I suspect its an issue with your lua sql module not linking to the thread safe client." in the Jira ticket. I'm curious how one would go about doing this. I use luasql (the default ubuntu apt-get install) and have a similar memory problem. I suppose I would need to compile luasql with some sort of flag? --matt On Wed, Jul 1, 2009 at 7:18 AM, Brian West<brian@freeswitch.org> wrote:
You also have a jira http://jira.freeswitch.org/browse/MODAPP-298, It looks like you're using lua sql and the backtrace you attached to the jira was cut off right before the data I needed to see... can you follow up on that ASAP?
It looks like a crash in libmysql from the last line but again I can't see the rest of it.
/b
On Jul 1, 2009, at 7:29 AM, Muhammad Danish Moosa wrote:
Hi
Freeswitch is being used in a scenario where two endpoints are running traffic with bypass media mode. Performance is good and all things are smooth.
But as the time goes after starting freeswitch, it starts consuming almost whole of memory. Note , freeswitch is being started with - core option, is it related?
If this 99% memory consumption is any red alert, as we can see calls are still connecting fine and all is going as usual.
-- Muhammad Danish Moosa _______________________________________________ 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
participants (6)
-
Brian West
-
Chris Fowler
-
Matthew Fong
-
Michael Jerris
-
Muhammad Danish Moosa
-
Raymond Chandler