[asterisk-bugs] [JIRA] (ASTERISK-19916) Asterisk gets exhausted of all the file resources
Paul Belanger (JIRA)
noreply at issues.asterisk.org
Fri Mar 1 22:35:19 CST 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-19916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=203625#comment-203625 ]
Paul Belanger commented on ASTERISK-19916:
------------------------------------------
I'm running into this issue too, however for the sake of discussion I am using 1.8.7.1. For me, upgrading to 1.8.19.0+ is not an option but I am going to backport a patch from ASTERISK-20032. Also, I'd be curious to see what ulimit -n is setup for.
In my cases, I am only using chan_dahdi and chan_sip
> 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