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