[Freeswitch-users] Freeswitch Stop Responding After 2 Days

Lloyd Aloysius lloyd.aloysius at gmail.com
Wed May 20 19:27:52 UTC 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200520/8d38d430/attachment.html>


More information about the FreeSWITCH-users mailing list