[Freeswitch-users] Freeswitch Stop Responding After 2 Days

David Villasmil david.villasmil.work at gmail.com
Wed May 20 22:12:11 UTC 2020


Why do you think it's a memory leak?
Also, why use unixodbc _and_ mysql? what modules are you using?

Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337


On Wed, May 20, 2020 at 8:57 PM Lloyd Aloysius <lloyd.aloysius at gmail.com>
wrote:

> I use the following unixodbc, mysql, lua
>
> Looks like it is a memory leak. Do not know where to start to looking
> into. Switch stop responding and need a restart the service.
>
> On Wed, May 20, 2020 at 3:36 AM Faisal Hanif <imfanee at gmail.com> wrote:
>
>> do you have any custom code managing business logic ?
>>
>> On Wed, 20 May 2020 at 05:34, Lloyd Aloysius <lloyd.aloysius at gmail.com>
>> wrote:
>>
>>> Hi All
>>>
>>> This is happening in same pattern after 2 days.A restart service solve
>>> the issues. I tried v1.6 , v1.8, v1.10 same behavior. Can someone help me
>>> to find the correct direction. Attached following command output.
>>>
>>> top -b -H -p `cat /usr/local/freeswitch/run/freeswitch.pid` -n 1
>>>
>>>
>>> Machine have 42 GB memory.
>>>
>>> When I look into this output I assume freeswitch use 79g memory. Looks
>>> like not enough memory. Am I correct?
>>>
>>> Even I increase the memory some thing happening after 2 days. I tried
>>> physical vs virtual esxi same pattern problem
>>>
>>> How to solve this problem? Can someone point the correct direction.
>>>
>>> The following is startup script. Any suggestions?
>>>
>>> *Start up script*
>>>
>>> /etc/systemd/system/freeswitch.service
>>> ; This file in installations built from Master can be found in
>>> ; /usr/src/freeswitch.git/debian
>>> ; or
>>> ; /usr/src/freeswitch/debian
>>> [Unit]
>>> Description=freeswitch
>>> After=syslog.target network.target local-fs.target mysql.service
>>> apache2.service
>>>
>>> [Service]
>>> ; service
>>> Type=forking
>>> PIDFile=/usr/local/freeswitch/run/freeswitch.pid
>>> ;PermissionsStartOnly=true
>>> ; blank ExecStart= line flushes the list
>>> ExecStart=
>>> Environment="USER=freeswitch"
>>> Environment="GROUP=freeswitch"
>>> ExecStart=/usr/local/freeswitch/bin/freeswitch -u freeswitch -g
>>> freeswitch -nc
>>> TimeoutSec=45s
>>> Restart=always
>>> ; exec
>>> WorkingDirectory=/usr/local/freeswitch/bin
>>> ;User=root
>>> ;Group=daemon
>>> LimitCORE=infinity
>>> LimitNOFILE=100000
>>> LimitNPROC=60000
>>> LimitSTACK=250000
>>> LimitRTPRIO=infinity
>>> LimitRTTIME=infinity
>>> IOSchedulingClass=realtime
>>> IOSchedulingPriority=2
>>> CPUSchedulingPolicy=rr
>>> CPUSchedulingPriority=89
>>> UMask=0007
>>> ;NoNewPrivileges=false
>>>
>>> [Install]
>>> WantedBy=multi-user.target
>>>
>>>
>>>
>>>
>>>
>>> _________________________________________________________________________
>>>
>>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>>> services.
>>> Build your next product on our scalable cloud platform.
>>>
>>> Join our online community to chat in real time
>>> https://signalwire.community
>>>
>>> Professional FreeSWITCH Services
>>> sales at freeswitch.com
>>> https://freeswitch.com
>>>
>>> Official FreeSWITCH Sites
>>> https://freeswitch.com/oss
>>> https://freeswitch.org/confluence
>>> https://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
>>> https://freeswitch.com
>>
>>
>>
>> --
>> Regards,
>>
>> Faisal Hanif
>> _________________________________________________________________________
>>
>> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
>> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
>> services.
>> Build your next product on our scalable cloud platform.
>>
>> Join our online community to chat in real time
>> https://signalwire.community
>>
>> Professional FreeSWITCH Services
>> sales at freeswitch.com
>> https://freeswitch.com
>>
>> Official FreeSWITCH Sites
>> https://freeswitch.com/oss
>> https://freeswitch.org/confluence
>> https://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
>> https://freeswitch.com
>
> _________________________________________________________________________
>
> The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
> Enhance your FreeSWITCH install with disruptive priced SMS and PSTN
> services.
> Build your next product on our scalable cloud platform.
>
> Join our online community to chat in real time
> https://signalwire.community
>
> Professional FreeSWITCH Services
> sales at freeswitch.com
> https://freeswitch.com
>
> Official FreeSWITCH Sites
> https://freeswitch.com/oss
> https://freeswitch.org/confluence
> https://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
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200520/15f3f47b/attachment-0001.html>


More information about the FreeSWITCH-users mailing list