[Freeswitch-users] Outbound event_socket memory usage
brian at freeswitch.com
Mon Sep 27 19:06:27 UTC 2021
What is the memory usage attributed to? Your process or FreeSWITCH?
On Mon, Sep 27, 2021 at 1:16 PM Adrien Martin <a.martin at alphalink.fr> wrote:
> I'm currently benchmarking an ESL program that use both outbound and
> inbound mode and notice a quite large memory usage for the FreeSWITCH
> process compared to a dialplan that has similar actions (8 set (half
> multiset), 1 sched_hangup, 1 bridge).
> The FreeSWITCH process use about 2 Mo per call and about 180 Ko without
> This does not look like a leak, the memory usage is stable and
> proportional to the current calls, Valgrind does not show anything special
> What was tested:
> - Pure dialplan while running only the inbound ESL subscribing to some
> events (CHANNEL_HANGUP, CHANNEL_HANGUP_COMPLETE, CHANNEL_EXECUTE_COMPLETE,
> SESSION_HEARTBEAT) for all channels, inbound ESL does not increase memory
> - Outbound ESL that just close the connection at the beginning of the
> dialplan, same memory usage as a complete ESL program,
> - Outbound ESL linger set/not set, no change,
> - Outbound ESL parameters async/full present or not, no change,
> - Versions 1.10.5~release~17 and 1.10.6~release~18, no change.
> Does this kind of resource penalty is to be expected?
> What could cause these differences?
> For those using outbound ESL, how much memory does your FreeSWITCH use per
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> Build your next product on our scalable cloud platform.
> Join our online community to chat in real time
> Professional FreeSWITCH Services
> sales at freeswitch.com
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
Brian West | Co-founder and Developer
Need Commercial support? email sales at freeswitch.com
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
Email: brian at freeswitch.com
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users