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.
Hello Try to add -rR flags to command Alex On Tue, Apr 17, 2018 at 5:08 PM, <igor.potjevlesch@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@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@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 | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: alex@freeswitch.com Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> Need commercial support? Contact sales@freeswitch.com for details.
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@lists.freeswitch.org> De la part de Alexey Sibyakin Envoyé : mardi 17 avril 2018 10:46 À : FreeSWITCH Users Help <freeswitch-users@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@gmail.com <mailto:igor.potjevlesch@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@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@freeswitch.com> alex@freeswitch.com Website: <https://www.freeswitch.com/> https://www.FreeSWITCH.com Need commercial support? Contact <mailto:sales@freeswitch.com> sales@freeswitch.com for details.
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@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@lists.freeswitch.org> *De la part de* Alexey Sibyakin *Envoyé :* mardi 17 avril 2018 10:46 *À :* FreeSWITCH Users Help <freeswitch-users@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@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@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@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 | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: alex@freeswitch.com
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
Need commercial support? Contact sales@freeswitch.com for details.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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 | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g> Email: alex@freeswitch.com Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/> Need commercial support? Contact sales@freeswitch.com for details.
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 0.0.0.0:* LISTEN 27314/freeswitch tcp 0 0 192.168.20.30:7443 0.0.0.0:* LISTEN 27314/freeswitch tcp 0 0 192.168.20.18:5060 0.0.0.0:* LISTEN 27314/freeswitch tcp 0 0 192.168.20.17:5060 0.0.0.0:* LISTEN 27314/freeswitch tcp 0 0 192.168.20.131:5060 0.0.0.0:* LISTEN 27314/freeswitch tcp 0 0 192.168.20.19:5060 0.0.0.0:* LISTEN 27314/freeswitch tcp 0 0 192.168.20.31:5060 0.0.0.0:* LISTEN 27314/freeswitch tcp 0 0 192.168.20.130:5060 0.0.0.0:* LISTEN 27314/freeswitch tcp 0 0 192.168.20.16:5060 0.0.0.0:* LISTEN 27314/freeswitch tcp 0 0 192.168.20.30:5060 0.0.0.0:* LISTEN 27314/freeswitch udp 0 0 192.168.20.30:2408 192.168.20.1:5351 ESTABLISHED 27314/freeswitch udp 0 0 192.168.20.18:5060 0.0.0.0:* 27314/freeswitch udp 0 0 192.168.20.17:5060 0.0.0.0:* 27314/freeswitch udp 0 0 192.168.20.131:5060 0.0.0.0:* 27314/freeswitch udp 0 0 192.168.20.19:5060 0.0.0.0:* 27314/freeswitch udp 0 0 192.168.20.31:5060 0.0.0.0:* 27314/freeswitch udp 0 0 192.168.20.130:5060 0.0.0.0:* 27314/freeswitch udp 0 0 192.168.20.16:5060 0.0.0.0:* 27314/freeswitch udp 0 0 192.168.20.30:5060 0.0.0.0:* 27314/freeswitch Regards, Igor. De : FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> De la part de Alexey Sibyakin Envoyé : mardi 17 avril 2018 15:27 À : FreeSWITCH Users Help <freeswitch-users@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@gmail.com <mailto:igor.potjevlesch@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@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> > De la part de Alexey Sibyakin Envoyé : mardi 17 avril 2018 10:46 À : FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@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@gmail.com <mailto:igor.potjevlesch@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@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@freeswitch.com> alex@freeswitch.com Website: <https://www.freeswitch.com/> https://www.FreeSWITCH.com Need commercial support? Contact <mailto:sales@freeswitch.com> sales@freeswitch.com for details. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@freeswitch.com> alex@freeswitch.com Website: <https://www.freeswitch.com/> https://www.FreeSWITCH.com Need commercial support? Contact <mailto:sales@freeswitch.com> sales@freeswitch.com for details.
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@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 0.0.0.0:* LISTEN 27314/freeswitch
tcp 0 0 192.168.20.30:7443 0.0.0.0:* LISTEN 27314/freeswitch
tcp 0 0 192.168.20.18:5060 0.0.0.0:* LISTEN 27314/freeswitch
tcp 0 0 192.168.20.17:5060 0.0.0.0:* LISTEN 27314/freeswitch
tcp 0 0 192.168.20.131:5060 0.0.0.0:* LISTEN 27314/freeswitch
tcp 0 0 192.168.20.19:5060 0.0.0.0:* LISTEN 27314/freeswitch
tcp 0 0 192.168.20.31:5060 0.0.0.0:* LISTEN 27314/freeswitch
tcp 0 0 192.168.20.130:5060 0.0.0.0:* LISTEN 27314/freeswitch
tcp 0 0 192.168.20.16:5060 0.0.0.0:* LISTEN 27314/freeswitch
tcp 0 0 192.168.20.30:5060 0.0.0.0:* LISTEN 27314/freeswitch
udp 0 0 192.168.20.30:2408 192.168.20.1:5351 ESTABLISHED 27314/freeswitch
udp 0 0 192.168.20.18:5060 0.0.0.0: * 27314/freeswitch
udp 0 0 192.168.20.17:5060 0.0.0.0: * 27314/freeswitch
udp 0 0 192.168.20.131:5060 0.0.0.0: * 27314/freeswitch
udp 0 0 192.168.20.19:5060 0.0.0.0:* 27314/freeswitch
udp 0 0 192.168.20.31:5060 0.0.0.0: * 27314/freeswitch
udp 0 0 192.168.20.130:5060 0.0.0.0: * 27314/freeswitch
udp 0 0 192.168.20.16:5060 0.0.0.0: * 27314/freeswitch
udp 0 0 192.168.20.30:5060 0.0.0.0: * 27314/freeswitch
Regards,
Igor.
*De :* FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> *De la part de* Alexey Sibyakin *Envoyé :* mardi 17 avril 2018 15:27
*À :* FreeSWITCH Users Help <freeswitch-users@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@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@lists.freeswitch.org> *De la part de* Alexey Sibyakin *Envoyé :* mardi 17 avril 2018 10:46 *À :* FreeSWITCH Users Help <freeswitch-users@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@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@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@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 | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: alex@freeswitch.com
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
Need commercial support? Contact sales@freeswitch.com for details.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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 | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: alex@freeswitch.com
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
Need commercial support? Contact sales@freeswitch.com for details.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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
Would also be a really good time to check your /etc/security/limits.conf or limits.d/ settings for freeswitch for file descriptor limit settings. -- Nathan On 4/17/18 11:12 AM, Guillermo Ruiz Camauer wrote:
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@gmail.com <mailto:igor.potjevlesch@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@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>> *De la part de* Alexey Sibyakin *Envoyé :* mardi 17 avril 2018 15:27
*À :* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@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@gmail.com <mailto:igor.potjevlesch@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@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>> *De la part de* Alexey Sibyakin *Envoyé :* mardi 17 avril 2018 10:46 *À :* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@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@gmail.com <mailto:igor.potjevlesch@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@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
--
Alex Sibyakin | Support Engineer
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: alex@freeswitch.com <mailto:alex@freeswitch.com>
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
Need commercial support? Contactsales@freeswitch.com <mailto:sales@freeswitch.com>for details.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
--
Alex Sibyakin | Support Engineer
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: alex@freeswitch.com <mailto:alex@freeswitch.com>
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
Need commercial support? Contactsales@freeswitch.com <mailto:sales@freeswitch.com>for details.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
-- Guillermo Ruiz Camauer
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
Example on my box: freeswitch soft nproc 50000 freeswitch hard nproc 50000 freeswitch soft nofile 100000 freeswitch hard nofile 100000 Which is a bit overkill -- right now my freeswitch process has 1638 open files, and 1216 active threads. -- Nathan On 4/17/18 12:12 PM, Nathan Neulinger wrote:
Would also be a really good time to check your /etc/security/limits.conf or limits.d/ settings for freeswitch for file descriptor limit settings.
-- Nathan
On 4/17/18 11:12 AM, Guillermo Ruiz Camauer wrote:
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@gmail.com <mailto:igor.potjevlesch@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@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>> *De la part de* Alexey Sibyakin *Envoyé :* mardi 17 avril 2018 15:27
*À :* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@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@gmail.com <mailto:igor.potjevlesch@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@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>> *De la part de* Alexey Sibyakin *Envoyé :* mardi 17 avril 2018 10:46 *À :* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@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@gmail.com <mailto:igor.potjevlesch@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@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
--
Alex Sibyakin | Support Engineer
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: alex@freeswitch.com <mailto:alex@freeswitch.com>
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
Need commercial support? Contactsales@freeswitch.com <mailto:sales@freeswitch.com>for details.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
--
Alex Sibyakin | Support Engineer
FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045 <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
Email: alex@freeswitch.com <mailto:alex@freeswitch.com>
Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
Need commercial support? Contactsales@freeswitch.com <mailto:sales@freeswitch.com>for details.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
-- Guillermo Ruiz Camauer
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org --
Nathan Neulingernneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
You're right. I got a new "crash" today and I checked the limits.conf for this instance. There is nothing define for freeswitch, so default values are applied. I will update with these values: freeswitch hard nofile 500000 freeswitch soft nofile 500000 freeswitch hard nproc 62815 freeswitch soft nproc 62815 De : FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> De la part de Nathan Neulinger Envoyé : mardi 17 avril 2018 19:12 À : FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>; Guillermo Ruiz Camauer <grcamauer@gmail.com> Objet : Re: [Freeswitch-users] Suddenly lost of fs_cli Would also be a really good time to check your /etc/security/limits.conf or limits.d/ settings for freeswitch for file descriptor limit settings. -- Nathan On 4/17/18 11:12 AM, Guillermo Ruiz Camauer wrote: 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@gmail.com <mailto:igor.potjevlesch@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 0.0.0.0:* 27314/freeswitch Regards, Igor. De : FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> > De la part de Alexey Sibyakin Envoyé : mardi 17 avril 2018 15:27 À : FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@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@gmail.com <mailto:igor.potjevlesch@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@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> > De la part de Alexey Sibyakin Envoyé : mardi 17 avril 2018 10:46 À : FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@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@gmail.com <mailto:igor.potjevlesch@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@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@freeswitch.com> alex@freeswitch.com Website: <https://www.freeswitch.com/> https://www.FreeSWITCH.com Need commercial support? Contact <mailto:sales@freeswitch.com> sales@freeswitch.com for details. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@freeswitch.com> alex@freeswitch.com Website: <https://www.freeswitch.com/> https://www.FreeSWITCH.com Need commercial support? Contact <mailto:sales@freeswitch.com> sales@freeswitch.com for details. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- ------------------------------------------------------------ Nathan Neulinger nneul@mst.edu <mailto:nneul@mst.edu> Missouri S&T Information Technology (573) 612-1412 System Administrator - Architect
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@lists.freeswitch.org> De la part de Guillermo Ruiz Camauer Envoyé : mardi 17 avril 2018 18:12 À : FreeSWITCH Users Help <freeswitch-users@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@gmail.com <mailto:igor.potjevlesch@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@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> > De la part de Alexey Sibyakin Envoyé : mardi 17 avril 2018 15:27 À : FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@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@gmail.com <mailto:igor.potjevlesch@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@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> > De la part de Alexey Sibyakin Envoyé : mardi 17 avril 2018 10:46 À : FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@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@gmail.com <mailto:igor.potjevlesch@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@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@freeswitch.com> alex@freeswitch.com Website: <https://www.freeswitch.com/> https://www.FreeSWITCH.com Need commercial support? Contact <mailto:sales@freeswitch.com> sales@freeswitch.com for details. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@freeswitch.com> alex@freeswitch.com Website: <https://www.freeswitch.com/> https://www.FreeSWITCH.com Need commercial support? Contact <mailto:sales@freeswitch.com> sales@freeswitch.com for details. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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
probably your freeswitch died or is no more correctly working... On 17 April 2018 at 10:08, <igor.potjevlesch@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18
Hello Giovanni, Freeswitch seems to process the calls as usual according to the logs and a tcpdump on interfaces. Regards, Igor. De : FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> De la part de Giovanni Maruzzelli Envoyé : mardi 17 avril 2018 11:19 À : FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Objet : Re: [Freeswitch-users] Suddenly lost of fs_cli probably your freeswitch died or is no more correctly working... On 17 April 2018 at 10:08, <igor.potjevlesch@gmail.com <mailto:igor.potjevlesch@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@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Sincerely, Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18
Can you check your acls for your event socket, that happened to me and it was the acl changes that i made. On Tue, Apr 17, 2018 at 5:45 PM, <igor.potjevlesch@gmail.com> wrote:
Hello Giovanni,
Freeswitch seems to process the calls as usual according to the logs and a tcpdump on interfaces.
Regards,
Igor.
*De :* FreeSWITCH-users <freeswitch-users-bounces@lists.freeswitch.org> *De la part de* Giovanni Maruzzelli *Envoyé :* mardi 17 avril 2018 11:19 *À :* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Objet :* Re: [Freeswitch-users] Suddenly lost of fs_cli
probably your freeswitch died or is no more correctly working...
On 17 April 2018 at 10:08, <igor.potjevlesch@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
--
Sincerely,
Giovanni Maruzzelli OpenTelecom.IT cell: +39 347 266 56 18
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Probably your module event has been stopped. Srigo On Tue, 17 Apr 2018, 18:21 , <igor.potjevlesch@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (7)
-
Alexey Sibyakin
-
Bilal Abbasi
-
Giovanni Maruzzelli
-
Guillermo Ruiz Camauer
-
igor.potjevlesch@gmail.com
-
Nathan Neulinger
-
Srigo Kanapathipillai