[Freeswitch-users] ESL object taking large memory

DP Siddharth dp.siddharth at eng.knowlarity.com
Thu Mar 12 19:53:33 MSK 2015


Thanks Anthony. Yes I tested with over a million calls & I didn't found any
issue with 64K & 128K size.

I will update same on Jira also.



On Thu, Mar 12, 2015 at 10:12 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> File a jira and confirm you can make it work with just  65536 set for both
> constants
>
>
> On Tue, Mar 10, 2015 at 2:00 PM, DP Siddharth <
> dp.siddharth at eng.knowlarity.com> wrote:
>
>> Going through logs I found following commit id, where these changes were
>> done. Any suggetion about having
>>
>> #define BUF_CHUNK 65536 * 50
>> #define BUF_START 65536 * 100
>>
>> to some smaller values?
>>
>> commit 2081bf97b9836f5299c22edbb1ead077842ea2bc
>> Author: Anthony Minessale <anthm at freeswitch.org>
>> Date:   Thu Dec 16 11:33:38 2010 -0600
>>
>>     use a packet buffer for ESL
>>
>> On Tue, Mar 10, 2015 at 6:50 PM, DP Siddharth <
>> dp.siddharth at eng.knowlarity.com> wrote:
>>
>>> Hi All,
>>>
>>> I am working on python/esl based server. We are seeing memory getting
>>> increase by ~6.5MB when con = ESLconnection() get called.
>>>
>>> We tried to cleanup this object as soon calls gets complete, but somehow
>>> we are not successful.
>>>
>>> Further looking into esl/src/include/esl.h we found
>>>
>>> #define BUF_CHUNK 65536 * 50
>>> #define BUF_START 65536 * 100
>>>
>>> modifying these values help in controlling python server memory growth.
>>>
>>> Can someone help me in understanding why we have this buffer size of
>>> 6.5MB?
>>>
>>>
>>> --
>>> Thanks & Regards,
>>> D P Siddharth
>>> Director (Platform)
>>> Knowlarity Communications
>>> Ph: +919999115231
>>> dp.siddharth at eng.knowlarity.com <emailID at knowlarity.com>
>>>
>>> *"Come together to build a lasting world-class cloud telephony company
>>> that helps businesses grow"*
>>>
>>
>>
>>
>> --
>> Thanks & Regards,
>> D P Siddharth
>> Director (Platform)
>> Knowlarity Communications
>> Ph: +919999115231
>> dp.siddharth at eng.knowlarity.com <emailID at knowlarity.com>
>>
>> *"Come together to build a lasting world-class cloud telephony company
>> that helps businesses grow"*
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> 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       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
>
>http://freeswitch.org/http://cluecon.com/> http://twitter.com/FreeSWITCH
> ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
> <http://freeswitch.org/g+>*
>
> ClueCon Weekly Development Call
> ☎ sip:888 at conference.freeswitch.org  ☎ +19193869900
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 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
>



-- 
Thanks & Regards,
D P Siddharth
Director (Platform)
Knowlarity Communications
Ph: +919999115231
dp.siddharth at eng.knowlarity.com <emailID at knowlarity.com>

*"Come together to build a lasting world-class cloud telephony company that
helps businesses grow"*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150312/94ae44aa/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list