[asterisk-bugs] [JIRA] (ASTERISK-19916) Asterisk gets exhausted of all the file resources

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Dec 7 06:58:45 CST 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-19916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=200519#comment-200519 ] 

Matt Jordan commented on ASTERISK-19916:
----------------------------------------

All the log file shows is that your system ran out of file descriptors. This could either be a limitation of your system, or it could be an actual file descriptor leak. In either case, it does not provide sufficient information to debug the problem.

Are you using chan_gtalk, as the original issue reporter was?

In any case, we'll need your .conf files, your dialplan, and a scenario that reproduces this behavior. You can determine whether or not you have a file descriptor leak by using the DEBUG_FD_LEAKS build option and observing the output of 'core show fd'. If the output of that continues to accrue file descriptors after calls have been terminated, that may indicate where the leak is coming from.
                
> Asterisk gets exhausted of all the file resources
> -------------------------------------------------
>
>                 Key: ASTERISK-19916
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19916
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: General
>    Affects Versions: 1.8.11.1
>         Environment: CentOS 6 32 bit
>            Reporter: Jim Boykin
>            Assignee: Rusty Newton
>         Attachments: 270512_Jim_Boykin_netstatoutput.txt
>
>
> Asterisk gets exhausted of all the file resources, CPU is at 100% after following since it's in tight loop. Only way to recover is to kill asterisk. 
> [May 26 05:14:12] WARNING[19323] asterisk.c: Accept returned -1: Too many open files
> [May 26 05:14:12] WARNING[19323] asterisk.c: Accept returned -1: Too many open files
> [May 26 05:14:12] WARNING[19323] asterisk.c: Accept returned -1: Too many open files
> [EDIT - Rusty Newton - 5/30/12 - removed a few dozen redundant log entries that didn't add anything to report. Messages above happen many times...]
> However above is not the only place - I can see many related errors from the log
> [May 23 20:04:35] ERROR[20788] res_timing_timerfd.c: Failed to create timerfd timer: Too many open files
> [May 23 20:38:31] WARNING[20885] channel.c: Channel allocation failed: Can't create alert pipe! Try increasing max file descriptors with ulimit -n
> [May 23 20:38:31] WARNING[20885] chan_network.c: Unable to allocate channel structure
> [May 24 00:11:48] ERROR[19365] cdr_csv.c: Unable to re-open master file /var/log/asterisk//cdr-csv//Master.csv : Too many open files
> [May 24 00:13:26] WARNING[19369] res_rtp_asterisk.c: Unable to allocate RTCP socket: Too many open files

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list