<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi David,<div class="">I will try to convince support team to update to latest version on my Debian 8 servers.</div><div class="">Hope any of these problems will be fixed..</div><div class=""><br class=""></div><div class="">Just to better understand the reason what means CS_INIT and DOWN together, are some call attempts that hang up for some reason?</div><div class=""><br class=""></div><div class="">Thanks</div><div class="">Max</div><div class=""><br class=""></div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">Il giorno 24 ott 2019, alle ore 12:49, David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" class="">david.villasmil.work@gmail.com</a>> ha scritto:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div dir="auto" class="">I understand upgrading can be calling for trouble, but if your installation is too old, it’s going to worth the time, buddy.</div></div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Did I understand you have PG in the core? If so what’s in the channels table when you get that empty “show calls” line?</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">There have been many fixes over the years for that “no audio ports available”.</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Also how many calls are there when it starts throwing that error? And can you paste the switch.conf content?</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">If after upgrading you still get that error and the amount of calls is reasonable, you may want to open a jira.</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">David</div><div class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 24 Oct 2019 at 10:01, Max Solaris <<a href="mailto:s0l6r1s@gmail.com" class="">s0l6r1s@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">Hi David,<div class="">Long story, sorry..</div><div class=""><br class=""><div class="">I’m always installed FS on dedicated hardware (single node, compiled from source) and this issue really never happened in the past.</div><div class="">“show calls” command actually matched PostgreSQL "channels" table record count.</div><div class=""><br class=""></div><div class="">Now I changed the architecture this way.</div><div class="">1. THIRD PARTY SIP PROXY /  on same server, central PostgreSQL database with FreeSWITCH Core db and CDRs database. Proxy is balancing traffic over</div><div class="">2. Number TWO freeswitches (mirrored configuration, scripts and gateways) with a custom Lua script that query central database to get customer data and routing, based on that will bridge calls</div><div class="">3. Delayed write CDRs with Master.csv import files</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">My issue is that the calls count grow too much, and I start to get on console following error “NO RTP audio available”, so only way to restore services is to restart FS on nodes.</div><div class=""><br class=""></div><div class="">I’ve even created a bash script to kill “DOWN” calls with uuid_kill looping on channels tables, but this doesn’t save me on RTP error.</div><div class=""><br class=""></div><div class="">Maybe you have some clue on how to solve this issue. I know my FS installation is old, but migration to newest version is not so seamless</div><div class="">Thank you so much</div></div></div><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><div class="">Max</div><div class=""><br class=""></div><div class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><blockquote type="cite" class=""><div class="">Il giorno 24 ott 2019, alle ore 00:53, David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" target="_blank" class="">david.villasmil.work@gmail.com</a>> ha scritto:</div><br class=""><div class=""><div class=""><div dir="auto" class="">Any idea at all where those calls are coming from? Are there really calls going on?</div></div><div dir="auto" class="">In my experience (from the beginning of the project) show calls (SQLite) is not perfect and will show calls that are not really there, but doing a quick investigation will show it’s just a bogus call. You can’t even kill them with uuid_kill.</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">This doesn’t happen with MySQL/Postgres in the core, for some reason.</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Is your setup by any chance on a VM?</div><div dir="auto" class=""><br class=""></div><div class=""><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 23 Oct 2019 at 23:29, Max Solaris <<a href="mailto:s0l6r1s@gmail.com" target="_blank" class="">s0l6r1s@gmail.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br class="">
I’m a long time user with Freeswitch, however I’m getting a strange issue I never found over past years.<br class="">
<br class="">
<br class="">
If I take a look at fs_cli console and look at “show calls” result I can see a great list of calls with state:<br class="">
<br class="">
CS_INIT,,,,,,,,DOWN<br class="">
<br class="">
<br class="">
This call count is increasing and is eating hardware resources until CPU / MEMORY leave the server unresponsive…<br class="">
<br class="">
How to clear these “zombie calls?”<br class="">
Is there an explaination for calls being frozen with this state?<br class="">
<br class="">
<br class="">
Just to clarify I’m using FS 1.6.20 git 43a9fe with Debian 8 ( I know it’s old, but can’t update for policy reason.. )<br class="">
<br class="">
<br class="">
Thank you for your help, FS rocks!<br class="">
Max<br class="">
_________________________________________________________________________<br class="">
<br class="">
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com/" rel="noreferrer" target="_blank" class="">https://signalwire.com</a><br class="">
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br class="">
Build your next product on our scalable cloud platform.<br class="">
<br class="">
Join our online community to chat in real time <a href="https://signalwire.community/" rel="noreferrer" target="_blank" class="">https://signalwire.community</a><br class="">
<br class="">
Professional FreeSWITCH Services<br class="">
<a href="mailto:sales@freeswitch.com" target="_blank" class="">sales@freeswitch.com</a><br class="">
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank" class="">https://freeswitch.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank" class="">https://freeswitch.com/oss</a><br class="">
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank" class="">https://freeswitch.org/confluence</a><br class="">
<a href="https://cluecon.com/" rel="noreferrer" target="_blank" class="">https://cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank" class="">https://freeswitch.com</a></blockquote></div></div>-- <br class=""><div dir="ltr" data-smartmail="gmail_signature" class=""><div dir="ltr" class=""><div class="">Regards,</div><div class=""><br class=""></div>David Villasmil<div class="">email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank" class="">david.villasmil.work@gmail.com</a></div><div class="">phone: +34669448337</div></div></div>
_________________________________________________________________________<br class=""><br class="">The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com/" target="_blank" class="">https://signalwire.com</a><br class="">Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br class="">Build your next product on our scalable cloud platform.<br class=""><br class="">Join our online community to chat in real time <a href="https://signalwire.community/" target="_blank" class="">https://signalwire.community</a><br class=""><br class="">Professional FreeSWITCH Services<br class=""><a href="mailto:sales@freeswitch.com" target="_blank" class="">sales@freeswitch.com</a><br class=""><a href="https://freeswitch.com/" target="_blank" class="">https://freeswitch.com</a><br class=""><br class="">Official FreeSWITCH Sites<br class=""><a href="https://freeswitch.com/oss" target="_blank" class="">https://freeswitch.com/oss</a><br class=""><a href="https://freeswitch.org/confluence" target="_blank" class="">https://freeswitch.org/confluence</a><br class=""><a href="https://cluecon.com/" target="_blank" class="">https://cluecon.com</a><br class=""><br class="">FreeSWITCH-users mailing list<br class=""><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class=""><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class=""><a href="https://freeswitch.com/" target="_blank" class="">https://freeswitch.com</a></div></blockquote></div><br class=""></div></div></div>_________________________________________________________________________<br class="">
<br class="">
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com/" rel="noreferrer" target="_blank" class="">https://signalwire.com</a><br class="">
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br class="">
Build your next product on our scalable cloud platform.<br class="">
<br class="">
Join our online community to chat in real time <a href="https://signalwire.community/" rel="noreferrer" target="_blank" class="">https://signalwire.community</a><br class="">
<br class="">
Professional FreeSWITCH Services<br class="">
<a href="mailto:sales@freeswitch.com" target="_blank" class="">sales@freeswitch.com</a><br class="">
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank" class="">https://freeswitch.com</a><br class="">
<br class="">
Official FreeSWITCH Sites<br class="">
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank" class="">https://freeswitch.com/oss</a><br class="">
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank" class="">https://freeswitch.org/confluence</a><br class="">
<a href="https://cluecon.com/" rel="noreferrer" target="_blank" class="">https://cluecon.com</a><br class="">
<br class="">
FreeSWITCH-users mailing list<br class="">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" class="">FreeSWITCH-users@lists.freeswitch.org</a><br class="">
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br class="">
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank" class="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br class="">
<a href="https://freeswitch.com/" rel="noreferrer" target="_blank" class="">https://freeswitch.com</a></blockquote></div></div>-- <br class=""><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr" class=""><div class="">Regards,</div><div class=""><br class=""></div>David Villasmil<div class="">email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank" class="">david.villasmil.work@gmail.com</a></div><div class="">phone: +34669448337</div></div></div>
_________________________________________________________________________<br class=""><br class="">The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" class="">https://signalwire.com</a><br class="">Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br class="">Build your next product on our scalable cloud platform.<br class=""><br class="">Join our online community to chat in real time <a href="https://signalwire.community" class="">https://signalwire.community</a><br class=""><br class="">Professional FreeSWITCH Services<br class=""><a href="mailto:sales@freeswitch.com" class="">sales@freeswitch.com</a><br class="">https://freeswitch.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">https://freeswitch.com/oss<br class="">https://freeswitch.org/confluence<br class="">https://cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">https://freeswitch.com</div></blockquote></div><br class=""></div></body></html>