[Freeswitch-users] Suddenly lost of fs_cli

igor.potjevlesch at gmail.com igor.potjevlesch at gmail.com
Wed Apr 18 08:20:25 UTC 2018


Indeed. I had to do that. Freeswitch was still processing the calls but replied systematically with Bad Gateway to one leg and sent a BYE to the other after the call has been hang up.

 

De : FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org> De la part de Guillermo Ruiz Camauer
Envoyé : mardi 17 avril 2018 18:12
À : FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Objet : Re: [Freeswitch-users] Suddenly lost of fs_cli

 

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...

 

Guillermo

 

On Tue, Apr 17, 2018 at 11:47 AM, <igor.potjevlesch at gmail.com <mailto:igor.potjevlesch at gmail.com> > wrote:

There is no more log written now. I could see in the last one some errors like this:

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

 

But if I take a network dump, the traffic is processed.

 

Regarding the ESL socket, I'm not sure, do you see it?

Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name

tcp        0      0 192.168.20.30:5066 <http://192.168.20.30:5066>             0.0.0.0:*                   LISTEN      27314/freeswitch

tcp        0      0 192.168.20.30:7443 <http://192.168.20.30:7443>             0.0.0.0:*                   LISTEN      27314/freeswitch

tcp        0      0 192.168.20.18:5060 <http://192.168.20.18:5060>             0.0.0.0:*                   LISTEN      27314/freeswitch

tcp        0      0 192.168.20.17:5060 <http://192.168.20.17:5060>             0.0.0.0:*                   LISTEN      27314/freeswitch

tcp        0      0 192.168.20.131:5060 <http://192.168.20.131:5060>            0.0.0.0:*                   LISTEN      27314/freeswitch

tcp        0      0 192.168.20.19:5060 <http://192.168.20.19:5060>             0.0.0.0:*                   LISTEN      27314/freeswitch

tcp        0      0 192.168.20.31:5060 <http://192.168.20.31:5060>             0.0.0.0:*                   LISTEN      27314/freeswitch

tcp        0      0 192.168.20.130:5060 <http://192.168.20.130:5060>            0.0.0.0:*                   LISTEN      27314/freeswitch

tcp        0      0 192.168.20.16:5060 <http://192.168.20.16:5060>             0.0.0.0:*                   LISTEN      27314/freeswitch

tcp        0      0 192.168.20.30:5060 <http://192.168.20.30:5060>             0.0.0.0:*                   LISTEN      27314/freeswitch

udp        0      0 192.168.20.30:2408 <http://192.168.20.30:2408>             192.168.20.1:5351 <http://192.168.20.1:5351>              ESTABLISHED 27314/freeswitch

udp        0      0 192.168.20.18:5060 <http://192.168.20.18:5060>             0.0.0.0:*                               27314/freeswitch

udp        0      0 192.168.20.17:5060 <http://192.168.20.17:5060>             0.0.0.0:*                               27314/freeswitch

udp        0      0 192.168.20.131:5060 <http://192.168.20.131:5060>            0.0.0.0:*                               27314/freeswitch

udp        0      0 192.168.20.19:5060 <http://192.168.20.19:5060>             0.0.0.0:*                               27314/freeswitch

udp        0      0 192.168.20.31:5060 <http://192.168.20.31:5060>             0.0.0.0:*                               27314/freeswitch

udp        0      0 192.168.20.130:5060 <http://192.168.20.130:5060>            0.0.0.0:*                               27314/freeswitch

udp        0      0 192.168.20.16:5060 <http://192.168.20.16:5060>             0.0.0.0:*                               27314/freeswitch

udp        0      0 192.168.20.30:5060 <http://192.168.20.30:5060>             0.0.0.0:*                               27314/freeswitch

 

Regards,

 

Igor.

 

De : FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org> > De la part de Alexey Sibyakin
Envoyé : mardi 17 avril 2018 15:27


À : FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org> >
Objet : Re: [Freeswitch-users] Suddenly lost of fs_cli

 

Can you see ESL socket in "ss -putan | column -t" or netstat -putan ? Any errors in the log?

 

Alex

 

On Tue, Apr 17, 2018 at 9:44 PM, <igor.potjevlesch at gmail.com <mailto:igor.potjevlesch at gmail.com> > wrote:

Hello Alex,

 

There is a loop:

[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]

[INFO] fs_cli.c:1616 main() Retrying

[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]

[INFO] fs_cli.c:1616 main() Retrying

[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]

[INFO] fs_cli.c:1616 main() Retrying

[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]

[INFO] fs_cli.c:1616 main() Retrying

[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]

[INFO] fs_cli.c:1616 main() Retrying

[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]

[INFO] fs_cli.c:1616 main() Retrying

[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]

[INFO] fs_cli.c:1616 main() Retrying

[…]

 

Regards,

 

Igor

 

De : FreeSWITCH-users <freeswitch-users-bounces at lists.freeswitch.org <mailto:freeswitch-users-bounces at lists.freeswitch.org> > De la part de Alexey Sibyakin
Envoyé : mardi 17 avril 2018 10:46
À : FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org <mailto:freeswitch-users at lists.freeswitch.org> >
Objet : Re: [Freeswitch-users] Suddenly lost of fs_cli

 

Hello

 

Try to add -rR flags to command

Alex

 

On Tue, Apr 17, 2018 at 5:08 PM, <igor.potjevlesch at gmail.com <mailto:igor.potjevlesch at gmail.com> > wrote:

Hello,

 

Since yesterday, I cannot access to fs_cli anymore after a traffic peak on an instance.

 

I got the following error:

[ERROR] fs_cli.c:1610 main() Error Connecting [Socket Connection Error]

Usage: /usr/local/freeswitch/bin/fs_cli [-H <host>] [-P <port>] [-p <secret>] [-d <level>] [-x command] [-t <timeout_ms>] [profile]

 

Is there something I can do without restarting Freeswitch?

 

Regards,

 

Igor.


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org> 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





 

-- 

Alex Sibyakin | Support Engineer

FreeSWITCH Solutions |  <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> 17345 Civic Drive #2531 Brookfield, WI 53045

Email:  <mailto:alex at freeswitch.com> alex at freeswitch.com

Website:  <https://www.freeswitch.com/> https://www.FreeSWITCH.com

Need commercial support? Contact  <mailto:sales at freeswitch.com> sales at freeswitch.com for details.


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org> 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





 

-- 

Alex Sibyakin | Support Engineer

FreeSWITCH Solutions |  <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> 17345 Civic Drive #2531 Brookfield, WI 53045

Email:  <mailto:alex at freeswitch.com> alex at freeswitch.com

Website:  <https://www.freeswitch.com/> https://www.FreeSWITCH.com

Need commercial support? Contact  <mailto:sales at freeswitch.com> sales at freeswitch.com for details.


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org <mailto:consulting at freeswitch.org> 
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org> 
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org





 

-- 

Guillermo Ruiz Camauer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180418/dc07bcd8/attachment-0001.html>


More information about the FreeSWITCH-users mailing list