[Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5

Charles Boening charlieb at cot.net
Fri Apr 24 16:36:39 PDT 2009


Thanks for the quick reply.

I'm using FS for a conference server.  We have just one conference room for internal use.  It is connected via a SIP registration to our MetaSwitch.  That registration allows multiple calls on the same registration.  I could do a SIP trunk but this was quick and easy to setup.

I'm concerned that FS quit unexpectedly a few time (pre4 not pre5) and that's how I got to poking around.  Sounds like maybe I'm being a little alarmist.  It's just harsh when the boss asks why the conference room isn't working.  :)

I'll see if I can get something setup to monitor memory usage over time.  I'm just concerned that over time memory will keep increasing and increasing and that's what caused the process to crash.

What would you suggest to try and track down why the FS process would suddenly stop working (not in process list even)?


From: freeswitch-dev-bounces at lists.freeswitch.org [mailto:freeswitch-dev-bounces at lists.freeswitch.org] On Behalf Of Brian West
Sent: Friday, April 24, 2009 4:26 PM
To: freeswitch-dev at lists.freeswitch.org
Subject: Re: [Freeswitch-dev] Memory Leak? - FreeSWITCH Version 1.0.4pre5

The numbers you posted are very low... can you elaborate on what exactly you're doing?  If you have gigs and gigs of ram used then you have a leak... I suspect you do not.


On Apr 24, 2009, at 5:40 PM, Charles Boening wrote:

I'm wondering about a possible memory leak in the latest versions.

For each FS process, the resident size seems to be incrementing by 8k at a slow, but fairly steady rate.  Sometimes there are a few quick "bursts" in the increase and sometimes it seems to take longer to see a "bump" in usage.  There are no calls being processed.  I just started FS and have been watching it.

After upgrading from 1.0.1 to 1.0.4pre4, my FS process died after a few hours.  I'm thinking this was due to a memory leak and the service running out of memory.

If it makes a difference, I upgraded from 1.0.1 to 1.0.4pre4 (saw memory leak there too) and then on to 1.0.4pre5 without wiping the instadirectory and starting over.

Please let me know what other information I can provide that will help find the reason for the ever increasing memory usage.


Brian West
brian at freeswitch.org<mailto:brian at freeswitch.org>

-- Meet us at ClueCon!  http://www.cluecon.com<http://www.cluecon.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20090424/7957ea69/attachment.html 

More information about the Freeswitch-dev mailing list