[Home]

Summary:ASTERISK-29781: My asterisk server crashing repeatedly
Reporter:Ajay Thakur (ajaythakur)Labels:
Date Opened:2021-11-29 11:16:16.000-0600Date Closed:2021-12-14 12:00:00.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Channels/chan_dahdi
Versions:16.8.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description:I have asterisk version 16. And crashing constantly i tried to increasing the MAX_FILES in asterisk.conf but no help still crashing,
Any help.
thanks in advance.
Comments:By: Asterisk Team (asteriskteam) 2021-11-29 11:16:16.809-0600

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. Please note that log messages and other files should not be sent to the Sangoma Asterisk Team unless explicitly asked for. All files should be placed on this issue in a sanitized fashion as needed.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

Please note that by submitting data, code, or documentation to Sangoma through JIRA, you accept the Terms of Use present at [https://www.asterisk.org/terms-of-use/|https://www.asterisk.org/terms-of-use/].

By: Joshua C. Colp (jcolp) 2021-11-29 11:43:16.051-0600

Thank you for the crash report. However, we need more information to investigate the crash. Please provide:

1. A backtrace generated from a core dump using the instructions provided on the Asterisk wiki [1].
2. Specific steps taken that lead to the crash.
3. All configuration information necesary to reproduce the crash.

Thanks!

[1]: https://wiki.asterisk.org/wiki/display/AST/Getting+a+Backtrace



By: Ajay Thakur (ajaythakur) 2021-11-30 01:02:43.286-0600

when i checked my log files. i got following errors:

{noformat}
[2021-11-29 18:00:05] ERROR[16330][C-00000d92] res_timing_timerfd.c: Failed to create timerfd timer: Too many open files
[2021-11-29 18:00:05] WARNING[16330][C-00000d92] alertpipe.c: Failed to create alert pipe with eventfd(), falling back to pipe(): Too many open files
[2021-11-29 18:00:05] WARNING[16330][C-00000d92] alertpipe.c: Failed to create alert pipe: Too many open files
[2021-11-29 18:00:05] WARNING[16330][C-00000d92] core_unreal.c: Unable to allocate chan channel structure
[2021-11-29 18:00:05] ERROR[18847][C-00000dce] res_rtp_asterisk.c: (0x7f6e7813f0b0) ICE Error obtaining list of local addresses: Too many open files
[2021-11-29 18:00:05] ERROR[18847][C-00000dce] netsock2.c: getaddrinfo("benzfab", "(null)", ...): System error
[2021-11-29 18:00:05] WARNING[18847][C-00000dce] acl.c: Unable to lookup 'benzfab'
[2021-11-29 18:00:05] ERROR[18847][C-00000dce] netsock2.c: getaddrinfo("A.ROOT-SERVERS.NET", "(null)", ...): System error
[2021-11-29 18:00:05] WARNING[18847][C-00000dce] acl.c: Unable to lookup 'A.ROOT-SERVERS.NET'
[2021-11-29 18:00:05] WARNING[18847][C-00000dce] res_rtp_asterisk.c: Unable to allocate RTCP socket: Too many open files
[2021-11-29 18:00:05] ERROR[18847][C-00000dce] netsock2.c: getaddrinfo("benzfab", "(null)", ...): System error
[2021-11-29 18:00:05] WARNING[18847][C-00000dce] acl.c: Unable to lookup 'benzfab'
[2021-11-29 18:00:05] ERROR[18847][C-00000dce] netsock2.c: getaddrinfo("A.ROOT-SERVERS.NET", "(null)", ...): System error
[2021-11-29 18:00:05] WARNING[18847][C-00000dce] acl.c: Unable to lookup 'A.ROOT-SERVERS.NET'
[2021-11-29 18:00:05] WARNING[18847][C-00000dce] res_rtp_asterisk.c: Unable to allocate RTCP socket: Too many open files
[2021-11-29 18:00:05] ERROR[18847][C-00000dce] acl.c: Cannot create socket to 192.168.1.96: Too many open files
[2021-11-29 18:00:05] ERROR[18847][C-00000dce] res_timing_timerfd.c: Failed to create timerfd timer: Too many open files
[2021-11-29 18:00:05] WARNING[18847][C-00000dce] alertpipe.c: Failed to create alert pipe with eventfd(), falling back to pipe(): Too many open files
[2021-11-29 18:00:05] WARNING[18847][C-00000dce] alertpipe.c: Failed to create alert pipe: Too many open files
[2021-11-29 18:00:05] WARNING[18847][C-00000dce] chan_sip.c: Unable to allocate AST channel structure for SIP channel
{noformat}


By: Joshua C. Colp (jcolp) 2021-11-30 04:27:13.345-0600

So is Asterisk actually crashing... or not?

By: Asterisk Team (asteriskteam) 2021-12-14 12:00:00.542-0600

Suspended due to lack of activity. This issue will be automatically re-opened if the reporter posts a comment. If you are not the reporter and would like this re-opened please create a new issue instead. If the new issue is related to this one a link will be created during the triage process. Further information on issue tracker usage can be found in the Asterisk Issue Guidlines [1].

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines