<div dir="ltr">If it is not writing to tthe log or to the CDR, I think its high time you stopped/kill that instance and start a new one...<div><br></div><div>Guillermo</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 17, 2018 at 11:47 AM,  <span dir="ltr"><<a href="mailto:igor.potjevlesch@gmail.com" target="_blank">igor.potjevlesch@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="FR" link="blue" vlink="purple"><div class="m_4250075960283223453WordSection1"><p class="MsoNormal"><span lang="EN-GB">There is no more log written now. I could see in the last one some errors like this:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">2018-04-17 14:41:09.219168 [CRIT] mod_cdr_pg_csv.c:268 Connection to database failed: could not create socket: Too many open files<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">But if I take a network dump, the traffic is processed.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Regarding the ESL socket, I'm not sure, do you see it?<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">tcp        0      0 <a href="http://192.168.20.30:5066" target="_blank">192.168.20.30:5066</a>            0.0.0.0:*           <wbr>        LISTEN      27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">tcp        0      0 <a href="http://192.168.20.30:7443" target="_blank">192.168.20.30:7443</a>            0.0.0.0:*                   LISTEN      27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">tcp        0      0 <a href="http://192.168.20.18:5060" target="_blank">192.168.20.18:5060</a>            0.0.0.0:*                   LISTEN      27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">tcp        0      0 <a href="http://192.168.20.17:5060" target="_blank">192.168.20.17:5060</a>            0.0.0.0:*                   LISTEN      27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">tcp        0      0 <a href="http://192.168.20.131:5060" target="_blank">192.168.20.131:5060</a>           0.0.0.0:*                   LISTEN      27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">tcp        0      0 <a href="http://192.168.20.19:5060" target="_blank">192.168.20.19:5060</a>            0.0.0.0:*                   LISTEN      27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">tcp        0      0 <a href="http://192.168.20.31:5060" target="_blank">192.168.20.31:5060</a>            0.0.0.0:*                   LISTEN      27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">tcp        0      0 <a href="http://192.168.20.130:5060" target="_blank">192.168.20.130:5060</a>           0.0.0.0:*                   LISTEN      27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">tcp        0      0 <a href="http://192.168.20.16:5060" target="_blank">192.168.20.16:5060</a>            0.0.0.0:*                   LISTEN      27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">tcp        0      0 <a href="http://192.168.20.30:5060" target="_blank">192.168.20.30:5060</a>            0.0.0.0:*                   LISTEN      27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">udp        0      0 <a href="http://192.168.20.30:2408" target="_blank">192.168.20.30:2408</a>            <a href="http://192.168.20.1:5351" target="_blank">192.168.20.1:5351</a>             ESTABLISHED 27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">udp        0      0 <a href="http://192.168.20.18:5060" target="_blank">192.168.20.18:5060</a>            0.0.0.0:*                     <wbr>          27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">udp        0      0 <a href="http://192.168.20.17:5060" target="_blank">192.168.20.17:5060</a>            0.0.0.0:*                     <wbr>          27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">udp        0      0 <a href="http://192.168.20.131:5060" target="_blank">192.168.20.131:5060</a>           0.0.0.0:*                     <wbr>          27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">udp        0      0 <a href="http://192.168.20.19:5060" target="_blank">192.168.20.19:5060</a>            0.0.0.0:*                               27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">udp        0      0 <a href="http://192.168.20.31:5060" target="_blank">192.168.20.31:5060</a>            0.0.0.0:*                     <wbr>          27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">udp        0      0 <a href="http://192.168.20.130:5060" target="_blank">192.168.20.130:5060</a>           0.0.0.0:*                     <wbr>          27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">udp        0      0 <a href="http://192.168.20.16:5060" target="_blank">192.168.20.16:5060</a>            0.0.0.0:*                     <wbr>          27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB">udp        0      0 <a href="http://192.168.20.30:5060" target="_blank">192.168.20.30:5060</a>            0.0.0.0:*                     <wbr>          27314/freeswitch<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Regards,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-GB">Igor.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p><p class="MsoNormal"><span class=""><b>De :</b> FreeSWITCH-users <<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@<wbr>lists.freeswitch.org</a>> <b>De la part de</b> Alexey Sibyakin<br></span><b>Envoyé :</b> mardi 17 avril 2018 15:27</p><div><div class="h5"><br><b>À :</b> FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.<wbr>freeswitch.org</a>><br><b>Objet :</b> Re: [Freeswitch-users] Suddenly lost of fs_cli<u></u><u></u></div></div><p></p><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Can you see ESL socket in "ss -putan | column -t" or netstat -putan ? Any errors in the log?<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Alex<u></u><u></u></p></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Tue, Apr 17, 2018 at 9:44 PM, <<a href="mailto:igor.potjevlesch@gmail.com" target="_blank">igor.potjevlesch@gmail.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal">Hello Alex,<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">There is a loop:<u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">[INFO] fs_cli.c:1616 main() Retrying</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">[INFO] fs_cli.c:1616 main() Retrying</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">[INFO] fs_cli.c:1616 main() Retrying</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">[INFO] fs_cli.c:1616 main() Retrying</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">[INFO] fs_cli.c:1616 main() Retrying</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">[INFO] fs_cli.c:1616 main() Retrying</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">[INFO] fs_cli.c:1616 main() Retrying</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">[…]</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">Regards,</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">Igor</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p><p class="MsoNormal"><b>De :</b> FreeSWITCH-users <<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@<wbr>lists.freeswitch.org</a>> <b>De la part de</b> Alexey Sibyakin<br><b>Envoyé :</b> mardi 17 avril 2018 10:46<br><b>À :</b> FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.<wbr>freeswitch.org</a>><br><b>Objet :</b> Re: [Freeswitch-users] Suddenly lost of fs_cli<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">Hello<u></u><u></u></p><div><div><div><p class="MsoNormal"> <u></u><u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">Try to add -rR flags to command<u></u><u></u></p></div><div><p class="MsoNormal">Alex<u></u><u></u></p></div></div></div></div><div><div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">On Tue, Apr 17, 2018 at 5:08 PM, <<a href="mailto:igor.potjevlesch@gmail.com" target="_blank">igor.potjevlesch@gmail.com</a>> wrote:<u></u><u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><div><div><p class="MsoNormal">Hello,<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">Since yesterday, I cannot access to fs_cli anymore after a traffic peak on an instance.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">I got the following error:</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">Usage: /usr/local/freeswitch/bin/fs_<wbr>cli [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [-t <timeout_ms>] [profile]</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">Is there something I can do without restarting Freeswitch?</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">Regards,</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-GB">Igor.</span><u></u><u></u></p></div></div><p class="MsoNormal"><br>______________________________<wbr>______________________________<wbr>_____________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.<wbr>org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p></blockquote></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div style="margin-left:4.5pt"><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">Alex Sibyakin | Support Engineer</span><u></u><u></u></p></div><div style="margin-left:4.5pt"><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">FreeSWITCH Solutions | <a href="https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g" target="_blank"><span style="color:#196ad4">17345 Civic Drive #2531 Brookfield, WI 53045</span></a></span><u></u><u></u></p></div><div style="margin-left:4.5pt"><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">Email: </span><span style="font-size:8.0pt;font-family:"Arial",sans-serif"><a href="mailto:alex@freeswitch.com" target="_blank"><span style="color:#3d85c6">alex@freeswitch.com</span></a></span><u></u><u></u></p></div><div style="margin-left:4.5pt"><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">Website: </span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#196ad4"><a href="https://www.freeswitch.com/" target="_blank"><span style="color:#196ad4">https://www.FreeSWITCH.com</span></a></span><u></u><u></u></p></div><div style="margin-left:4.5pt"><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:7.5pt;font-family:"Helvetica",sans-serif;color:black">Need commercial support? Contact</span><span style="font-size:7.5pt;font-family:"Helvetica",sans-serif;color:#333333"> </span><span style="font-size:7.5pt;font-family:"Helvetica",sans-serif"><a href="mailto:sales@freeswitch.com" target="_blank"><span style="color:#3572b0">sales@freeswitch.com</span></a><span style="color:#333333"> </span><span style="color:black">f<wbr>or details.</span></span><u></u><u></u></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><p class="MsoNormal"><br>______________________________<wbr>______________________________<wbr>_____________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.<wbr>org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p></blockquote></div><p class="MsoNormal"><br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div style="margin-left:4.5pt"><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">Alex Sibyakin | Support Engineer</span><span style="font-size:9.5pt;font-family:"Helvetica Neue",serif;color:black"><u></u><u></u></span></p></div><div style="margin-left:4.5pt"><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">FreeSWITCH Solutions | <a href="https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g" target="_blank"><span style="color:#196ad4">17345 Civic Drive #2531 Brookfield, WI 53045</span></a></span><span style="font-size:9.5pt;font-family:"Helvetica Neue",serif;color:black"><u></u><u></u></span></p></div><div style="margin-left:4.5pt"><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">Email: </span><span style="font-size:8.0pt;font-family:"Arial",sans-serif"><a href="mailto:alex@freeswitch.com" target="_blank"><span style="color:#3d85c6">alex@freeswitch.com</span></a></span><span style="font-size:9.5pt;font-family:"Helvetica Neue",serif"><u></u><u></u></span></p></div><div style="margin-left:4.5pt"><p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:black">Website: </span><span style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#196ad4"><a href="https://www.freeswitch.com/" target="_blank"><span style="color:#196ad4">https://www.FreeSWITCH.com</span></a></span><span style="font-size:9.5pt;font-family:"Helvetica Neue",serif;color:black"><u></u><u></u></span></p></div><div style="margin-left:4.5pt"><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:7.5pt;font-family:"Helvetica Neue",serif;color:black">Need commercial support? Contact</span><span style="font-size:7.5pt;font-family:"Helvetica Neue",serif;color:#333333"> </span><span style="font-size:7.5pt;font-family:"Helvetica Neue",serif"><a href="mailto:sales@freeswitch.com" target="_blank"><span style="color:#3572b0">sales@freeswitch.com</span></a><span style="color:#333333"> </span><span style="color:black">f<wbr>or details.</span></span><span style="font-family:"Helvetica Neue",serif"><u></u><u></u></span></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Guillermo Ruiz Camauer<br></div>
</div>