[Freeswitch-users] Diagnosing FreeSWITCH eating more and more memory

Anthony Minessale anthony.minessale at gmail.com
Fri Jun 19 14:07:37 PDT 2009


try removing certian elements of you setup to narrrow it down one at a time.

remove the lua + sql, the ivr scripts etc and see if you can pinpoint your
problem
it's amost for sure going to be in lua and probably some plugin for it.



On Fri, Jun 19, 2009 at 3:53 PM, Matthew Fong <mattdfong at gmail.com> wrote:

> some lua event listeners are connecting to mysql with lua..but the
> connection is created once, and kept open
> the lua ivr's do *not *connect to any database.
>
> top -H seems to show an even distribution of of cpu and memory usage
> amongst freeswitch threads. Nothing seems out of the ordinary with a
> specific thread.
>
> --matt
> On Fri, Jun 19, 2009 at 1:38 PM, Anthony Minessale <
> anthony.minessale at gmail.com> wrote:
>
>> are you connecting to a db with the lua?
>>
>>
>> On Fri, Jun 19, 2009 at 3:20 PM, Matthew Fong <mattdfong at gmail.com>wrote:
>>
>>> With yesterday's trunk and also a release from 2 weeks ago, I noticed
>>> that my freeswitch process as it ran was eating up more and more memory. At
>>> the end of the day it was using 75% of the sever's memory (About 12 gigs).
>>> It starts out taking a small amount of memory, and then throughout the day
>>> it slowly takes more and more. Is this normal? I'm using several lua ivr
>>> scripts...and have about 600-900 channels. Whats the best way to go about
>>> tracking down the cause? Thanks.
>>> --matt
>>>
>>> _______________________________________________
>>> 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
>>>
>>>
>>
>>
>> --
>> Anthony Minessale II
>>
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>>
>> AIM: anthm
>> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
>> iax:guest at conference.freeswitch.org/888
>> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
>> pstn:213-799-1400
>>
>> _______________________________________________
>> 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
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090619/29fb08d4/attachment-0002.html 


More information about the FreeSWITCH-users mailing list